diff options
author | David Cole <david.cole@kitware.com> | 2012-08-24 18:24:24 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-08-24 18:24:24 (GMT) |
commit | 05784dadc59ee3c87ab6140d684ff4c602de9ec1 (patch) | |
tree | dbaac2b00fb70a112a9e1ee71323c5c224bde6b9 /Tests/CompileDefinitions/add_definitions_command/CMakeLists.txt | |
parent | 286f7c9644d1fb8ac8b5d46e2a3c9c393680acef (diff) | |
parent | f0a1065393a57f503bc2c86f432f50dd4b8d5bbd (diff) | |
download | CMake-05784dadc59ee3c87ab6140d684ff4c602de9ec1.zip CMake-05784dadc59ee3c87ab6140d684ff4c602de9ec1.tar.gz CMake-05784dadc59ee3c87ab6140d684ff4c602de9ec1.tar.bz2 |
Merge topic 'compile-definitions-unique'
f0a1065 Rename files from main.cpp to more meaningful names.
ca7fb14 Fix the test setting COMPILE_DEFINITIONS target property
733deb6 Fix CompileDefinitions test on Visual Studio.
3dae652 Don't duplicate -D defines sent to the compiler.
Diffstat (limited to 'Tests/CompileDefinitions/add_definitions_command/CMakeLists.txt')
-rw-r--r-- | Tests/CompileDefinitions/add_definitions_command/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/add_definitions_command/CMakeLists.txt b/Tests/CompileDefinitions/add_definitions_command/CMakeLists.txt new file mode 100644 index 0000000..a6372af --- /dev/null +++ b/Tests/CompileDefinitions/add_definitions_command/CMakeLists.txt @@ -0,0 +1,7 @@ + +project(add_definitions_command) + +add_definitions(-DCMAKE_IS_FUN -DCMAKE_IS=Fun -DCMAKE_IS_="Fun" -DCMAKE_IS_REALLY="Very Fun") +add_definitions(-DCMAKE_IS_="Fun" -DCMAKE_IS_REALLY="Very Fun" -DCMAKE_IS_FUN -DCMAKE_IS=Fun) + +add_executable(add_definitions_command_executable ../compiletest.cpp) |