My bad, we're not using nmake but msbuild in Jenkins (command line only). Judging from the
compilation speed, I'm pretty sure it respects the /MP flag.
Best regards
Andreas
On 20.09.2012 18:24, Bill Hoffman wrote:
nmake does not do parallel builds. Try using jom.
On 9/21/2012 8:36 AM, Andreas Haferburg wrote:
My bad, we're not using nmake but msbuild in Jenkins (command line
only). Judging from the
compilation speed, I'm pretty sure it respects the /MP flag.
Best regards
Andreas
Another option is the new ninja generator. It is a bit slower on the
On 9/20/2012 7:42 PM, Loaden wrote:
As I know, qmake support /MP on command line builds after set ENV
CL=/MP, and nmake can do parallel builds.
Follow the MS docs:
cl a.cpp b.cpp c.cpp /MP should works well on command line.
Seems CMake does not implements this.
So, can I request a feature for
On 21 September 2012 15:20, Bill Hoffman bill.hoff...@kitware.com wrote:
On 9/20/2012 7:42 PM, Loaden wrote:
As I know, qmake support /MP on command line builds after set ENV
CL=/MP, and nmake can do parallel builds.
Follow the MS docs:
cl a.cpp b.cpp c.cpp /MP should works well on command
Thanks a lot! Ninja Generator is the best choice for me.
It's works great on Linux, but has some issue for MSVC about share the
precompiled header files.
NMake works well with that.
I will look into it.
Thanks again!
2012/9/21 Bill Hoffman bill.hoff...@kitware.com
- use the new ninja generator
Because I want share the MSVC's PCH files, so I have to set the compile PDB
name:
get_filename_component(pdbpath ${${targetBinary}_PCH_BINARY_FILE} PATH)
get_target_property(targetCompileFlags ${targetSelf} COMPILE_FLAGS)
if (targetCompileFlags)
set(origCompileFlags
Hi, there!
I am using Windows SDK 7.1 + nmake + CMake for building Windows
applications.
Follow these:
http://www.cmake.org/pipermail/cmake/2009-April/028668.html
http://msdn.microsoft.com/en-us/library/bb385193.aspx
I can't make /MP option works after this change in CMake's main
CMakeLists.txt
Hi Yuchen,
we're using the same way to enable /MP, and it works for us. You didn't say exactly what doesn't
work, so I'm left to guessing.
Have you checked in Visual Studio if the flag is set (Project properties-C/C++-Command Line)?
Maybe there's a conflicting option enabled? Or maybe you're
nmake does not do parallel builds. Try using jom.
http://blog.qt.digia.com/2009/03/27/speeding-up-visual-c-qt-builds/
http://qt-project.org/wiki/jom
/MP only works from the VS IDE.
On 9/20/2012 11:34 AM, Andreas Haferburg wrote:
Hi Yuchen,
we're using the same way to enable /MP, and it
Hello,Andreas!
Thanks for your comments. I am working in command line, use nmake.
So In here does not exist any Visual IDE stuff.
2012/9/20 Andreas Haferburg ahaferb...@scopis.com
Hi Yuchen,
we're using the same way to enable /MP, and it works for us. You didn't
say exactly what doesn't
As I know, qmake support /MP on command line builds after set ENV CL=/MP,
and nmake can do parallel builds.
Follow the MS docs:
cl a.cpp b.cpp c.cpp /MP should works well on command line.
Seems CMake does not implements this.
So, can I request a feature for this?
2012/9/21 Bill Hoffman
11 matches
Mail list logo