diff options
Diffstat (limited to 'longbow/src/python')
-rw-r--r-- | longbow/src/python/CMakeLists.txt | 4 | ||||
-rw-r--r-- | longbow/src/python/site-packages/CMakeLists.txt | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/longbow/src/python/CMakeLists.txt b/longbow/src/python/CMakeLists.txt index 157cda21..33e2d70e 100644 --- a/longbow/src/python/CMakeLists.txt +++ b/longbow/src/python/CMakeLists.txt @@ -1,10 +1,10 @@ -add_subdirectory(site-packages) +add_subdirectory(site-packages) install( FILES parc_uncrustify.cfg DESTINATION ${CMAKE_INSTALL_PREFIX}/etc ) macro(AddLongBowPythonScript scriptFile) configure_file(${ARGV0}.py ${ARGV0} @ONLY) - install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${ARGV0} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) + install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${ARGV0} COMPONENT library DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) endmacro(AddLongBowPythonScript) set(ScriptList diff --git a/longbow/src/python/site-packages/CMakeLists.txt b/longbow/src/python/site-packages/CMakeLists.txt index fab750f7..f0be88f6 100644 --- a/longbow/src/python/site-packages/CMakeLists.txt +++ b/longbow/src/python/site-packages/CMakeLists.txt @@ -1,12 +1,12 @@ -install(FILES longbow.pth DESTINATION ${INSTALL_BASE_PYTHON_DIR}) -install(FILES longbow/LongBow.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/FileUtil.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/GCov.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/GCovSummary.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/ANSITerm.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/SymbolTable.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/Language_C.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/StyleReport.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/CoverageReport.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/VocabularyReport.py DESTINATION ${INSTALL_PYTHON_DIR}) -install(FILES longbow/NameReport.py DESTINATION ${INSTALL_PYTHON_DIR}) +install(FILES longbow.pth DESTINATION ${INSTALL_BASE_PYTHON_DIR} COMPONENT library) +install(FILES longbow/LongBow.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/FileUtil.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/GCov.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/GCovSummary.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/ANSITerm.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/SymbolTable.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/Language_C.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/StyleReport.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/CoverageReport.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/VocabularyReport.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) +install(FILES longbow/NameReport.py DESTINATION ${INSTALL_PYTHON_DIR} COMPONENT library) |