aboutsummaryrefslogtreecommitdiffstats
path: root/longbow/src
diff options
context:
space:
mode:
Diffstat (limited to 'longbow/src')
-rw-r--r--longbow/src/LongBow/CMakeLists.txt6
-rw-r--r--longbow/src/python/CMakeLists.txt4
-rw-r--r--longbow/src/python/site-packages/CMakeLists.txt24
3 files changed, 17 insertions, 17 deletions
diff --git a/longbow/src/LongBow/CMakeLists.txt b/longbow/src/LongBow/CMakeLists.txt
index 476cc8ab..27efc12c 100644
--- a/longbow/src/LongBow/CMakeLists.txt
+++ b/longbow/src/LongBow/CMakeLists.txt
@@ -157,11 +157,11 @@ set(longbowLibraries
)
foreach(lib ${longbowLibraries})
- install(TARGETS ${lib} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS ${lib} COMPONENT library LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
endforeach()
-install(FILES ${LIBLONGBOW_HEADER_FILES} DESTINATION include/LongBow )
-install(FILES ${LONGBOW_REPORT_HEADER_FILES} DESTINATION include/LongBow/Reporting )
+install(FILES ${LIBLONGBOW_HEADER_FILES} DESTINATION include/LongBow COMPONENT headers)
+install(FILES ${LONGBOW_REPORT_HEADER_FILES} DESTINATION include/LongBow/Reporting COMPONENT headers)
if(ANDROID_API)
message("############ Detected cross compile for ${CMAKE_SYSTEM_NAME}")
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)