For your project you can always add your own "flags" such as:
CMakeLists.txt---- Begin if (VS_USE_STATIC_RUNTIME) set (CMAKE_CXX_FLAGS ".....") endif() CMakeLists.txt------ END Then on the command line do the following: cmake -G "Visual Studio 9 2008" -DVS_USE_STATIC_RUNTIME=ON ../ or from a "Clean" build directory in CMake_GUi.exe add a cmake variable using the usual dialog boxes, then "Configure" your project. ___________________________________________________________ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Jan 15, 2010, at 4:01 PM, Jochen Wilhelmy wrote:
Please see it from the point of view of someone who is not a cmake expert and also not a visual studio expert. such a user will not know what CMAKE_CXX_FLAGS are and also not know that /MD or /MT controls dynamic or static runtime of cl.exe on the command line (and what about the settings in the project xml-file?) As I at least know a bit of Visual Studio the simplest solution for me is to patch the output project using TinyXML. But as cmake is such a powerful tool why fail on simple things? Jochen _______________________________________________ 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
_______________________________________________ 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