I have a CMake project that supports multiple processor compilation in Visual Studio using the \MP flag.
Since only in one of the many executable files that build the project, I need to set the \MP flag to false (or disable it because I get errors importing the .tlb file), how can I set the flags for this purpose is different?
add_executable(MyProgram myprogram.cpp) target_link_libraries(MyProgram MyLibraries)
Should I give some set_target_properties for cmake or specifically remove the flag from the whole project? Thank!
c ++ compiler-construction visual-studio-2010 cmake
linello Jun 16 '14 at 7:54 2014-06-16 07:54
source share