Debian Codegraph @

test cases/cmake/8 custom command/subprojects/cmMod/cpyTest/CMakeLists.txt

raw
1 add_custom_command(
2 OUTPUT cpyTest4.hpp
3 COMMAND mycpy "${CMAKE_CURRENT_SOURCE_DIR}/cpyTest4.hpp" cpyTest4.hpp
4 DEPENDS cpyTest4.hpp
5 )
6
7 add_custom_target(tgtCpyTest4 DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/cpyTest4.hpp")