You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
349 B
9 lines
349 B
file(GLOB PY_FILES *.py)
|
|
file(GLOB TXT_FILES *.txt)
|
|
list(REMOVE_ITEM TXT_FILES ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt)
|
|
foreach(FIL ${PY_FILES})
|
|
get_filename_component(FIL_WE ${FIL} NAME_WE)
|
|
install(PROGRAMS ${FIL} DESTINATION share/bcc/tools/lib RENAME ${FIL_WE})
|
|
endforeach()
|
|
install(FILES ${TXT_FILES} DESTINATION share/bcc/tools/doc/lib)
|