[CMake] library name selection based on build target

2007-12-06 Thread Theodore Omtzigt
I am using a library naming convention that shows which type of run-time it selects on windows. Specifically, a debug target would get a version name like systemc-v2.2.0-mdd.lib, and a release target would be systemc-v2.2.0-mdr.lib, to disambiguate multi-threaded, DLL, Debug/Release versions. N

[CMake] VS2005 emitter and /vmg compiler option: bug?

2007-11-23 Thread Theodore Omtzigt
For SystemC, code needs to be compiled with the /vmg compiler option of the VS compilers. However, when I use CMAKE_CXX_FLAGS_DEBUG to set this option, it changes the run-time bindings from DLL to static. This causes grief with the rest of the libraries which are all be default compiled with the DL

[CMake] Question about managing large projects with CMake

2007-08-12 Thread Theodore Omtzigt
Maybe a little bit more information about the software structure might help: I have the following top level tree structure: //depot /external /bin /lib /include /src

[CMake] Question about managing large projects with CMake

2007-08-12 Thread Theodore Omtzigt
Dear CMake gurus: First of all, thank you for creating CMake. After struggling with cross platform builds for a decade, CMake has solved all my essential requirements for cross platform Windows/Linux software development. On to the questions: I have a large and diverse software/hardware t