Fixed Netbeans auto gen Makefiles Signed-off-by: Alain <alainmarcel@yahoo.com>
diff --git a/SVIncCompil/Makefile b/SVIncCompil/Makefile index 66cb956..d70b6a5 100644 --- a/SVIncCompil/Makefile +++ b/SVIncCompil/Makefile
@@ -55,7 +55,7 @@ .build-pre: # Add your pre 'build' code here... - echo `g++ --version` + echo `${GPP} --version` .build-post: .build-impl # Add your post 'build' code here...
diff --git a/SVIncCompil/nbproject/Makefile-AdvancedDebug.mk b/SVIncCompil/nbproject/Makefile-AdvancedDebug.mk index 9031c4c..4a13688 100644 --- a/SVIncCompil/nbproject/Makefile-AdvancedDebug.mk +++ b/SVIncCompil/nbproject/Makefile-AdvancedDebug.mk
@@ -15,8 +15,8 @@ CCADMIN=CCadmin RANLIB=ranlib CC=gcc -CCC=${CCACHE} g++ -Wall -D_GLIBCXX_DEBUG -fsanitize=address -fno-omit-frame-pointer -Wno-attributes -CXX=${CCACHE} g++ -Wall -D_GLIBCXX_DEBUG -fsanitize=address -fno-omit-frame-pointer -Wno-attributes +CCC=${CCACHE} ${GPP} -Wall -D_GLIBCXX_DEBUG -fsanitize=address -fno-omit-frame-pointer -Wno-attributes +CXX=${CCACHE} ${GPP} -Wall -D_GLIBCXX_DEBUG -fsanitize=address -fno-omit-frame-pointer -Wno-attributes FC=gfortran AS=as @@ -166,7 +166,7 @@ ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog: ${OBJECTFILES} ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} - g++ -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog ${OBJECTFILES} ${LDLIBSOPTIONS} + ${GPP} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog ${OBJECTFILES} ${LDLIBSOPTIONS} ${OBJECTDIR}/API/PythonAPI.o: API/PythonAPI.cpp API/slapi_wrap.cxx API/slapi.h ${MKDIR} -p ${OBJECTDIR}/API
diff --git a/SVIncCompil/nbproject/Makefile-Debug.mk b/SVIncCompil/nbproject/Makefile-Debug.mk index 318fdbb..7cb22cf 100644 --- a/SVIncCompil/nbproject/Makefile-Debug.mk +++ b/SVIncCompil/nbproject/Makefile-Debug.mk
@@ -15,8 +15,8 @@ CCADMIN=CCadmin RANLIB=ranlib CC=gcc -CCC=${CCACHE} g++ -Wall -Wno-attributes -CXX=${CCACHE} g++ -Wall -Wno-attributes +CCC=${CCACHE} ${GPP} -Wall -Wno-attributes +CXX=${CCACHE} ${GPP} -Wall -Wno-attributes FC=gfortran AS=as @@ -166,7 +166,7 @@ ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog: ${OBJECTFILES} ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} - g++ -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog ${OBJECTFILES} ${LDLIBSOPTIONS} + ${GPP} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog ${OBJECTFILES} ${LDLIBSOPTIONS} ${OBJECTDIR}/API/PythonAPI.o: API/PythonAPI.cpp API/slapi_wrap.cxx API/slapi.h ${MKDIR} -p ${OBJECTDIR}/API
diff --git a/SVIncCompil/nbproject/Makefile-ReleaseNoTcMalloc.mk b/SVIncCompil/nbproject/Makefile-ReleaseNoTcMalloc.mk index fc3347c..4e128f6 100644 --- a/SVIncCompil/nbproject/Makefile-ReleaseNoTcMalloc.mk +++ b/SVIncCompil/nbproject/Makefile-ReleaseNoTcMalloc.mk
@@ -15,8 +15,8 @@ CCADMIN=CCadmin RANLIB=ranlib CC=gcc -CCC=${CCACHE} g++ -Wall -O2 -fno-asm -Wno-attributes -CXX=${CCACHE} g++ -Wall -O2 -fno-asm -Wno-attributes +CCC=${CCACHE} ${GPP} -Wall -O2 -fno-asm -Wno-attributes +CXX=${CCACHE} ${GPP} -Wall -O2 -fno-asm -Wno-attributes FC=gfortran AS=as @@ -166,7 +166,7 @@ ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog: ${OBJECTFILES} ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} - g++ -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog ${OBJECTFILES} ${LDLIBSOPTIONS} + ${GPP} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/surelog ${OBJECTFILES} ${LDLIBSOPTIONS} ${OBJECTDIR}/API/PythonAPI.o: API/PythonAPI.cpp API/slapi_wrap.cxx API/slapi.h ${MKDIR} -p ${OBJECTDIR}/API
diff --git a/SVIncCompil/nbproject/configurations.xml b/SVIncCompil/nbproject/configurations.xml index c454c07..33d82d0 100644 --- a/SVIncCompil/nbproject/configurations.xml +++ b/SVIncCompil/nbproject/configurations.xml
@@ -359,7 +359,7 @@ <ccTool> <architecture>2</architecture> <standard>8</standard> - <commandlineTool>${CCACHE} g++ -Wall -Wno-attributes</commandlineTool> + <commandlineTool>${CCACHE} ${GPP} -Wall -Wno-attributes</commandlineTool> <incDir> <pElem>../antlr4/antlr4-4.7.2/runtime/Cpp-Debug/runtime/src</pElem> <pElem>../flatbuffers/include</pElem> @@ -372,7 +372,7 @@ <linkerAddLib> <pElem>../antlr4/antlr4-4.7.2/runtime/Cpp-Debug/dist/</pElem> </linkerAddLib> - <commandlineTool>g++</commandlineTool> + <commandlineTool>${GPP}</commandlineTool> <linkerLibItems> <linkerLibStdlibItem>PosixThreads</linkerLibStdlibItem> <linkerLibFileItem>../antlr4/antlr4-4.7.2/runtime/Cpp-Debug/dist/libantlr4-runtime.a</linkerLibFileItem> @@ -1006,7 +1006,7 @@ </compileType> <item path="API/PythonAPI.cpp" ex="false" tool="1" flavor2="0"> <ccTool> - <commandlineTool>g++ </commandlineTool> + <commandlineTool>{$GPP} </commandlineTool> <additionalDep>API/slapi_wrap.cxx API/slapi.h</additionalDep> </ccTool> </item> @@ -1602,7 +1602,7 @@ <developmentMode>0</developmentMode> <architecture>2</architecture> <standard>8</standard> - <commandlineTool>${CCACHE} g++ -Wall -O2 -fno-asm -Wno-attributes</commandlineTool> + <commandlineTool>${CCACHE} ${GPP} -Wall -O2 -fno-asm -Wno-attributes</commandlineTool> <incDir> <pElem>../antlr4/antlr4-4.7.2/runtime/Cpp/runtime/src</pElem> <pElem>../flatbuffers/include</pElem> @@ -1621,7 +1621,7 @@ <linkerAddLib> <pElem>../antlr4/antlr4-4.7.2/runtime/Cpp/dist/</pElem> </linkerAddLib> - <commandlineTool>g++</commandlineTool> + <commandlineTool>${GPP}</commandlineTool> <linkerLibItems> <linkerLibStdlibItem>PosixThreads</linkerLibStdlibItem> <linkerLibFileItem>../antlr4/antlr4-4.7.2/runtime/Cpp/dist/libantlr4-runtime.a</linkerLibFileItem> @@ -2214,7 +2214,7 @@ <ccTool> <architecture>2</architecture> <standard>8</standard> - <commandlineTool>${CCACHE} g++ -Wall -D_GLIBCXX_DEBUG -fsanitize=address -fno-omit-frame-pointer -Wno-attributes</commandlineTool> + <commandlineTool>${CCACHE} ${GPP} -Wall -D_GLIBCXX_DEBUG -fsanitize=address -fno-omit-frame-pointer -Wno-attributes</commandlineTool> <incDir> <pElem>../antlr4/antlr4-4.7.2/runtime/Cpp-AdvancedDebug/runtime/src</pElem> <pElem>../flatbuffers/include</pElem> @@ -2227,7 +2227,7 @@ <linkerAddLib> <pElem>../antlr4/antlr4-4.7.2/runtime/Cpp-AdvancedDebug/dist/</pElem> </linkerAddLib> - <commandlineTool>g++</commandlineTool> + <commandlineTool>${GPP}</commandlineTool> <linkerLibItems> <linkerLibStdlibItem>PosixThreads</linkerLibStdlibItem> <linkerLibFileItem>../antlr4/antlr4-4.7.2/runtime/Cpp-AdvancedDebug/dist/libantlr4-runtime.a</linkerLibFileItem>