From: Eduardo Davila Date: Tue, 17 Feb 2009 13:27:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: EED.02Oct2009~45 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bc91a83f9f7af0763b3c69eaaed9952555d51a64;p=crea.git *** empty log message *** --- diff --git a/appli/creaNewProject/CMakeLists.txt b/appli/creaNewProject/CMakeLists.txt index f8e6484..de370c7 100644 --- a/appli/creaNewProject/CMakeLists.txt +++ b/appli/creaNewProject/CMakeLists.txt @@ -22,6 +22,11 @@ IF(WIN32) # Build tree + CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/xcopy.exe + ${EXECUTABLE_OUTPUT_PATH}/Debug/xcopy.exe + @ONLY IMMEDIATE + ) CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/creaNewProject.bat.in ${EXECUTABLE_OUTPUT_PATH}/Debug/creaNewProject.bat @@ -30,6 +35,12 @@ IF(WIN32) CREA_MKDIR(${EXECUTABLE_OUTPUT_PATH}/Debug/creaNewProject_data) CREA_CPDIR(${INPUT_PROJECT_DIR} ${EXECUTABLE_OUTPUT_PATH}/Debug/creaNewProject_data ) + + CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/xcopy.exe + ${EXECUTABLE_OUTPUT_PATH}/Release/xcopy.exe + @ONLY IMMEDIATE + ) CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/creaNewProject.bat.in ${EXECUTABLE_OUTPUT_PATH}/Release/creaNewProject.bat @@ -40,6 +51,10 @@ IF(WIN32) # install tree + INSTALL( + PROGRAMS ${EXECUTABLE_OUTPUT_PATH}/Debug/xcopy.exe + DESTINATION bin + ) INSTALL( PROGRAMS ${EXECUTABLE_OUTPUT_PATH}/Debug/creaNewProject.bat DESTINATION bin diff --git a/appli/creaNewProject/xcopy.exe b/appli/creaNewProject/xcopy.exe new file mode 100644 index 0000000..11df281 Binary files /dev/null and b/appli/creaNewProject/xcopy.exe differ