summaryrefslogtreecommitdiff
path: root/Tests/LoadCommand
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LoadCommand')
-rw-r--r--Tests/LoadCommand/CMakeCommands/cmTestCommand.c2
-rw-r--r--Tests/LoadCommand/CMakeLists.txt4
-rw-r--r--Tests/LoadCommand/LoadedCommand.cxx.in (renamed from Tests/LoadCommand/LoadedCommand.cxx)0
3 files changed, 3 insertions, 3 deletions
diff --git a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
index c5ee6117c7..b1431cfc57 100644
--- a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
+++ b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
@@ -128,7 +128,7 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
ccArgs[3] = argv[1];
ccDep[0] = ccArgs[2];
ccOut[0] = ccArgs[3];
- info->CAPI->AddCustomCommand(mf, "LoadedCommand.cxx",
+ info->CAPI->AddCustomCommand(mf, "LoadedCommand.cxx.in",
file,
4, ccArgs,
1, ccDep,
diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt
index 23a52a844c..30463ef8a0 100644
--- a/Tests/LoadCommand/CMakeLists.txt
+++ b/Tests/LoadCommand/CMakeLists.txt
@@ -52,8 +52,8 @@ IF (COMPILE_OK)
# if the command loaded, execute the command
IF (COMMAND CMAKE_TEST_COMMAND)
CMAKE_TEST_COMMAND(
- "${LoadedCommand_SOURCE_DIR}/LoadedCommand.cxx"
- "${LoadedCommand_BINARY_DIR}/LoadedCommand2.cxx"
+ "${LoadedCommand_SOURCE_DIR}/LoadedCommand.cxx.in"
+ "${LoadedCommand_BINARY_DIR}/LoadedCommand2.cxx.in"
"${LoadedCommand_BINARY_DIR}/LoadedCommand3.cxx"
)
ENDIF (COMMAND CMAKE_TEST_COMMAND)
diff --git a/Tests/LoadCommand/LoadedCommand.cxx b/Tests/LoadCommand/LoadedCommand.cxx.in
index c58bcf1531..c58bcf1531 100644
--- a/Tests/LoadCommand/LoadedCommand.cxx
+++ b/Tests/LoadCommand/LoadedCommand.cxx.in