Am 2014-02-17 10:20, schrieb Hendrk Sattler:
Visual Studio 10 totally relies on the custom build tool to protect itself when run in parallel. It will run the generator as many times as the bar.cpp is mentioned in different targets, even in parallel if that is enabled. And that's what you see.
Actually, it is "as many times as foo.cpp is mentioned in different targets" but cmake automatically adds that for you when you specify bar.cpp and there seems to be no way to disable this (if there were a way, using a custom target would work). The generation logic is kind of inversed in Visual Studio compared to make.
HS -- 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: http://www.cmake.org/mailman/listinfo/cmake
