From ad748ce26e61f19ab46308dff4cb614b839fcc1c Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 21 Jul 2006 14:05:32 -0400 Subject: [PATCH] BUG: work around XCode issue --- Tests/LoadCommand/CMakeCommands/cmTestCommand.c | 2 +- Tests/LoadCommand/CMakeLists.txt | 4 ++-- Tests/LoadCommand/{LoadedCommand.cxx => LoadedCommand.cxx.in} | 0 Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c | 2 +- Tests/LoadCommandOneConfig/CMakeLists.txt | 4 ++-- .../{LoadedCommand.cxx => LoadedCommand.cxx.in} | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename Tests/LoadCommand/{LoadedCommand.cxx => LoadedCommand.cxx.in} (100%) rename Tests/LoadCommandOneConfig/{LoadedCommand.cxx => LoadedCommand.cxx.in} (100%) 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 similarity index 100% rename from Tests/LoadCommand/LoadedCommand.cxx rename to Tests/LoadCommand/LoadedCommand.cxx.in diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c index c5ee6117c7..b1431cfc57 100644 --- a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c +++ b/Tests/LoadCommandOneConfig/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/LoadCommandOneConfig/CMakeLists.txt b/Tests/LoadCommandOneConfig/CMakeLists.txt index 23a52a844c..30463ef8a0 100644 --- a/Tests/LoadCommandOneConfig/CMakeLists.txt +++ b/Tests/LoadCommandOneConfig/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/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx.in similarity index 100% rename from Tests/LoadCommandOneConfig/LoadedCommand.cxx rename to Tests/LoadCommandOneConfig/LoadedCommand.cxx.in