Hi, Von: "Stefanos Carlström" <[EMAIL PROTECTED]>
> How do I do to add a definition for just one of the executables in a > CMakeLists.txt-file and > only for one of its configs? > > I want to define DEBUG for foo.exe but not for bar.exe, and I want DEBUG > only to be set for > the Debug configuration of that executable. > > I use Visual Studio 2005 and my CMakeLists.txt looks essentially like > this: > > Project(Foobar C CXX) > > add_executable(foo foo.c) > add_executable(bar bar.c) Does SET_TARGET_PROPERTIES(... COMPILE_FLAGS ... ) do what you want ? Alex -- GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist! NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
