Le mar. 11 sept. 2018 à 22:09, Michael Jackson <mike.jack...@bluequartz.net> a écrit :
> I add it manually each and every time. I have to tell all new developers > to remember to add the flag otherwise they are still sitting after an hour > waiting on our code to compile wondering why it takes so long. Then it hits > us, "Oh, Yeah. Open CMake-Gui and set the /MP flag". I'm frustrated at the > situation but not sure how to fix it. I tried the other suggestions and > just nothing works. This is one of those things that I poke at once a year > and figure out that nothing has changed. Been this way since VS 2013. > Someday it will change. > I don't know your constraint on using msbuild but if the "main" issue is to automatically exploit parallel build did you try to switch to ninja instead of msbuild? Visual C++ Tools for CMake seems to [begin to] support that path as well: https://blogs.msdn.microsoft.com/vcblog/2017/05/10/cmake-support-in-visual-studio-whats-new-in-2017-15-3-update/ -- Eric
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake