[cmake-commits] hoffman committed CMakeLists.txt NONE 1.1.2.1
hello_world NONE 1.1.2.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Nov 28 14:19:48 EST 2006
Update of /cvsroot/CMake/CMake/Tests/TargetName/scripts
In directory public:/mounts/ram/cvs-serv14425/Tests/TargetName/scripts
Added Files:
Tag: CMake-2-4
CMakeLists.txt hello_world
Log Message:
ENH: merge in changes from the main tree
--- NEW FILE: hello_world ---
#!/bin/sh
echo "hello, world"
--- NEW FILE: CMakeLists.txt ---
if(NOT CMAKE_BINARY_DIR STREQUAL "${CMAKE_SOURCE_DIR}")
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hello_world
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/hello_world ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/hello_world
)
add_custom_target(
hello_world_copy ALL
DEPENDS #hello_world
${CMAKE_CURRENT_BINARY_DIR}/hello_world
)
endif(NOT CMAKE_BINARY_DIR STREQUAL "${CMAKE_SOURCE_DIR}")
More information about the Cmake-commits
mailing list