Hello I have the following stupid problem with cmake: I want CMAKE_BUILD_TOOL or the deprecated CMAKE_MAKE_PROGRAM to be set to /usr/bin/make -j12 (for multithreaded build) how can we pass arguments to the build tool (make)? in eclipse that does not work because in the .cproject file there is a target now defined as <target name=": all " path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/make -j12</buildCommand> <buildTarget>rebuild_cache</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> <runAllBuilders>true</runAllBuilders> </target> which can not be executed!! but to correctly execute the target in eclipse it should be: <target name=": rebuild_cache" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> <buildCommand>/usr/bin/make</buildCommand> <buildArguments> -j12</buildArguments> <buildTarget>rebuild_cache</buildTarget> <stopOnError>true</stopOnError> <useDefaultCommand>false</useDefaultCommand> <runAllBuilders>true</runAllBuilders> </target>
Can anyone help me how to do this properly? thanks alot! -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake