Re: [CMake] Specifying multiple build threads on windows
John Drescher wrote: Can you please help as how I could specify the number of threads to be used in the command line builds i.e. something like (For nmake) Cmd nmake –j5 (For Visual Studio 2008) cmd cmake –-build . –j5 Use vcbuild or msbuild You can use jom, or gmake. Jom is an nmake replacement that can do parallel builds done by the Qt folks, the download can be found here: ftp://ftp.qt.nokia.com/jom/jom.zip For gmake, you need cygwin installed, but you need to use the gmake from here: Older cygwin: http://www.cmake.org/files/cygwin/make.exe Cygwin 1.7: http://www.cmake.org/files/cygwin/make.exe-cygwin1.7 For gmake use the Unix Makefiles generator, and make sure make is in your PATH. For jom use the NMake Makefiles generator, and then run jom. CMake CVS has a jom generator, but the NMake Makefiles one should work fine. -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573 ___ 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
[CMake] Specifying multiple build threads on windows
Hi, Can you please help as how I could specify the number of threads to be used in the command line builds i.e. something like (For nmake) Cmd nmake -j5 (For Visual Studio 2008) cmd cmake --build . -j5 Thanks, Vikas ___ 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
Re: [CMake] Specifying multiple build threads on windows
Can you please help as how I could specify the number of threads to be used in the command line builds i.e. something like (For nmake) Cmd nmake –j5 (For Visual Studio 2008) cmd cmake –-build . –j5 Use vcbuild or msbuild John ___ 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
Re: [CMake] Specifying multiple build threads on windows
Thanks but how do I integrate vcbuild or msbuild with cmake ? Vikas -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: 24 January 2010 21:52 To: Chauhan, Vikas Cc: cmake@cmake.org Subject: Re: [CMake] Specifying multiple build threads on windows Can you please help as how I could specify the number of threads to be used in the command line builds i.e. something like (For nmake) Cmd nmake -j5 (For Visual Studio 2008) cmd cmake --build . -j5 Use vcbuild or msbuild John ___ 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
Re: [CMake] Specifying multiple build threads on windows
Thanks but how do I integrate vcbuild or msbuild with cmake ? I never have used the --build option. I am not exactly sure. For my windows projects I have it generate a batch file using cmake configure. This batch file calls devenv with the options from cmake. So to build I call install.bat located in the binary folder of each project. And for dependent projects I call a master install.bat that calls the dependent install.bat files in each project. John ___ 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