diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-17 13:16:04 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-17 13:16:04 (GMT) |
commit | 40fd3b83dc19c6b51afb73611dcc5be1422e9e26 (patch) | |
tree | c4db4f47670f34723c9a2293eec3cb9be3680549 /Tests/LoadCommand | |
parent | e4690b6df26ec10e826f0425b647e01362e6b5e9 (diff) | |
download | CMake-40fd3b83dc19c6b51afb73611dcc5be1422e9e26.zip CMake-40fd3b83dc19c6b51afb73611dcc5be1422e9e26.tar.gz CMake-40fd3b83dc19c6b51afb73611dcc5be1422e9e26.tar.bz2 |
some cleanup
Diffstat (limited to 'Tests/LoadCommand')
-rw-r--r-- | Tests/LoadCommand/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt index e6e3ca2..925eab0 100644 --- a/Tests/LoadCommand/CMakeLists.txt +++ b/Tests/LoadCommand/CMakeLists.txt @@ -1,19 +1,19 @@ -PROJECT(LOADED_COMMANDS) +PROJECT(LoadedCommand) # set a definition SET (TEST_COMMAND_TEST1 1) # try to compile the command TRY_COMPILE(COMPILE_OK - ${LOADED_COMMANDS_SOURCE_DIR}/CMakeCommands - ${LOADED_COMMANDS_BINARY_DIR}/CMakeCommands - CMAKE_LOADED_COMMANDS) + ${LoadedCommand_BINARY_DIR}/CMakeCommands + ${LoadedCommand_SOURCE_DIR}/CMakeCommands + CMAKE_LOADED_COMMANDS cmCMAKE_TEST_COMMAND) # if the compile was OK, try loading the command IF (COMPILE_OK) LOAD_COMMAND(CMAKE_TEST_COMMAND - ${LOADED_COMMANDS_BINARY_DIR}/CMakeCommands - ${LOADED_COMMANDS_BINARY_DIR}/CMakeCommands/Debug + ${LoadedCommand_BINARY_DIR}/CMakeCommands + ${LoadedCommand_BINARY_DIR}/CMakeCommands/Debug ) # if the command loaded, execute the command IF (COMMAND CMAKE_TEST_COMMAND) @@ -24,7 +24,7 @@ ELSE (COMPILE_OK) ENDIF (COMPILE_OK) IF (TEST_DEF) - ADD_DEFINITIONS(-DCMAKE_IS_FUN) + ADD_DEFINITIONS(-DCMAKE_IS_FUN) ENDIF (TEST_DEF) ADD_EXECUTABLE (LoadedCommand LoadedCommand.cxx) |