summaryrefslogtreecommitdiff
path: root/Tests/LoadCommand
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-19 10:15:24 -0400
committerBrad King <brad.king@kitware.com>2007-05-19 10:15:24 -0400
commit5e45ca6fbf810d3636914ef70cf94b5ddc54f89e (patch)
tree376187f24e8f776ad5afda23d89598ec10ffc148 /Tests/LoadCommand
parent27a0c92ffc450d63e664bb100ccbe5ebe4cebe9a (diff)
downloadcmake-5e45ca6fbf810d3636914ef70cf94b5ddc54f89e.tar.gz
BUG: Finish fixing test for new name.
Diffstat (limited to 'Tests/LoadCommand')
-rw-r--r--Tests/LoadCommand/CMakeLists.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt
index e3543991a4..189f1c17b5 100644
--- a/Tests/LoadCommand/CMakeLists.txt
+++ b/Tests/LoadCommand/CMakeLists.txt
@@ -17,25 +17,25 @@ CHECK_INCLUDE_FILE("sys/prctl.h" HAVE_SYS_PRCTL_H)
INCLUDE (${CMAKE_ROOT}/Modules/CheckLibraryExists.cmake)
CHECK_LIBRARY_EXISTS(m ceil "" HAVE_LIBM)
-CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
- ${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
+CONFIGURE_FILE(${LoadCommand_SOURCE_DIR}/LoadedCommand.h.in
+ ${LoadCommand_BINARY_DIR}/LoadedCommand.h)
-INCLUDE_DIRECTORIES(${LoadedCommand_BINARY_DIR})
+INCLUDE_DIRECTORIES(${LoadCommand_BINARY_DIR})
# try to compile the command
# make sure it is not already loaded
IF(COMMAND CMAKE_TEST_COMMAND)
ELSE(COMMAND CMAKE_TEST_COMMAND)
TRY_COMPILE(COMPILE_OK
- ${LoadedCommand_BINARY_DIR}/CMakeCommands
- ${LoadedCommand_SOURCE_DIR}/CMakeCommands
+ ${LoadCommand_BINARY_DIR}/CMakeCommands
+ ${LoadCommand_SOURCE_DIR}/CMakeCommands
CMAKE_LOADED_COMMANDS CMAKE_FLAGS -DMUDSLIDE_TYPE:STRING=MUCHO
OUTPUT_VARIABLE OUTPUT )
# do another TRY_COMPILE to get around make
# problem on hp
TRY_COMPILE(COMPILE_OK
- ${LoadedCommand_BINARY_DIR}/CMakeCommands
- ${LoadedCommand_SOURCE_DIR}/CMakeCommands
+ ${LoadCommand_BINARY_DIR}/CMakeCommands
+ ${LoadCommand_SOURCE_DIR}/CMakeCommands
CMAKE_LOADED_COMMANDS CMAKE_FLAGS -DMUDSLIDE_TYPE:STRING=MUCHO
OUTPUT_VARIABLE OUTPUT )
ENDIF(COMMAND CMAKE_TEST_COMMAND)
@@ -45,16 +45,16 @@ MESSAGE("Output from try compile: ${OUTPUT}")
# if the compile was OK, try loading the command
IF (COMPILE_OK)
LOAD_COMMAND(CMAKE_TEST_COMMAND
- ${LoadedCommand_BINARY_DIR}/CMakeCommands
- ${LoadedCommand_BINARY_DIR}/CMakeCommands/Debug
- ${LoadedCommand_BINARY_DIR}/CMakeCommands/Development
+ ${LoadCommand_BINARY_DIR}/CMakeCommands
+ ${LoadCommand_BINARY_DIR}/CMakeCommands/Debug
+ ${LoadCommand_BINARY_DIR}/CMakeCommands/Development
)
# if the command loaded, execute the command
IF (COMMAND CMAKE_TEST_COMMAND)
CMAKE_TEST_COMMAND(
- "${LoadedCommand_SOURCE_DIR}/LoadedCommand.cxx.in"
- "${LoadedCommand_BINARY_DIR}/LoadedCommand2.cxx.in"
- "${LoadedCommand_BINARY_DIR}/LoadedCommand3.cxx"
+ "${LoadCommand_SOURCE_DIR}/LoadedCommand.cxx.in"
+ "${LoadCommand_BINARY_DIR}/LoadedCommand2.cxx.in"
+ "${LoadCommand_BINARY_DIR}/LoadedCommand3.cxx"
)
ENDIF (COMMAND CMAKE_TEST_COMMAND)
ELSE (COMPILE_OK)