In my particular CMake project, I have three CPP files: a.cpp b.cpp c.cpp
I want 'a.cpp' to be compiled in all configurations (release & debug).<br> I only want 'b.cpp' to be compiled in DEBUG configuration.<br> I only want 'c.cpp' to be compiled in RELEASE configuration. How can I do this? I need something similar to the `debug` and `optimized` keywords that are accepted by the `target_link_libraries()` CMake operation. --------- Robert Dailey
-- 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