Re: [CMake] library

2008-02-27 Thread Robert Fleming
To solve the first problem I did: set_target_properties(rtf PROPERTIES LINK_FLAGS "/NODEFAULTLIB:msvcrt") Not sure if this is the best way. You'll want to wrap it with some conditional statements checking you're on windows, probably. Also, if you just want to ignore a library in debug, you can

[CMake] list subdirectories

2008-02-26 Thread Robert Fleming
Hi, I'm working on a rather large project with about 100 libraries, and they have a consistent directory structure (although each library is built slightly differently) that I would like to take advantage of. Rather than creating CMakeLists.txt files for each library and it's unit tests / samples