BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
f44c1b5
Branches
Tags
master
uproctrace
upt-tool
CMakeLists.txt
implement "ninja install"
Stefan Schuermans
commited
f44c1b5
at 2020-07-31 18:09:23
CMakeLists.txt
Blame
History
Raw
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/lib/uproctrace/upt-tool.py DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/upt-tool.py COMMAND cp -a ${CMAKE_CURRENT_SOURCE_DIR}/upt-tool.py ${CMAKE_BINARY_DIR}/lib/uproctrace/upt-tool.py ) add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/bin/upt-tool DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/upt-tool.bash COMMAND cp -a ${CMAKE_CURRENT_SOURCE_DIR}/upt-tool.bash ${CMAKE_BINARY_DIR}/bin/upt-tool ) add_custom_target( upt-tool ALL DEPENDS ${CMAKE_BINARY_DIR}/lib/uproctrace/upt-tool.py ${CMAKE_BINARY_DIR}/bin/upt-tool ) install( PROGRAMS ${CMAKE_BINARY_DIR}/lib/uproctrace/upt-tool.py DESTINATION lib/uproctrace ) install( PROGRAMS ${CMAKE_BINARY_DIR}/bin/upt-tool DESTINATION bin )