summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions/CMakeLists.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-08-22 11:03:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-08-22 11:05:07 (GMT)
commitf0a1065393a57f503bc2c86f432f50dd4b8d5bbd (patch)
treea09cac6eebae31ce3a3fc24585b350eea652e201 /Tests/CompileDefinitions/CMakeLists.txt
parentca7fb14f9b966805cb11fdf71648337b71c1047b (diff)
downloadCMake-f0a1065393a57f503bc2c86f432f50dd4b8d5bbd.zip
CMake-f0a1065393a57f503bc2c86f432f50dd4b8d5bbd.tar.gz
CMake-f0a1065393a57f503bc2c86f432f50dd4b8d5bbd.tar.bz2
Rename files from main.cpp to more meaningful names.
Because the main file for the dummy-executable and the actual compile test were both called main.cpp, they were overwriting each other during in-source builds.
Diffstat (limited to 'Tests/CompileDefinitions/CMakeLists.txt')
-rw-r--r--Tests/CompileDefinitions/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CompileDefinitions/CMakeLists.txt b/Tests/CompileDefinitions/CMakeLists.txt
index 337aeb1..e7d91bf 100644
--- a/Tests/CompileDefinitions/CMakeLists.txt
+++ b/Tests/CompileDefinitions/CMakeLists.txt
@@ -11,6 +11,6 @@ add_subdirectory(add_definitions_command)
add_subdirectory(target_prop)
add_subdirectory(add_definitions_command_with_target_prop)
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp" "int main(int, char **) { return 0; }\n")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/dummyexecutable.cpp" "int main(int, char **) { return 0; }\n")
-add_executable(CompileDefinitions "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
+add_executable(CompileDefinitions "${CMAKE_CURRENT_BINARY_DIR}/dummyexecutable.cpp")