[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.47 1.48
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Sep 25 13:36:10 EDT 2009
Update of /cvsroot/CMake/CMake/Tests/CustomCommand
In directory public:/mounts/ram/cvs-serv15413
Modified Files:
CMakeLists.txt
Log Message:
Oops. Last commit did not create subdir before doing a touch on a file in it. So it fails on some platforms. This fixes that.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/CMakeLists.txt,v
retrieving revision 1.47
retrieving revision 1.48
diff -C 2 -d -r1.47 -r1.48
*** CMakeLists.txt 25 Sep 2009 17:23:19 -0000 1.47
--- CMakeLists.txt 25 Sep 2009 17:36:08 -0000 1.48
***************
*** 407,410 ****
--- 407,411 ----
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/subdir/SameName
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/subdir
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/subdir/SameName
)
More information about the Cmake-commits
mailing list