From 04987da5150d4043d8a424dd897eeae0b7110ee5 Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Fri, 13 Jul 2018 12:52:47 +0000 Subject: cmake: add support to make python api installer on windows --- host/cmake/Modules/UHDPackage.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'host/cmake/Modules/UHDPackage.cmake') diff --git a/host/cmake/Modules/UHDPackage.cmake b/host/cmake/Modules/UHDPackage.cmake index 8bd31910f..1ba981398 100644 --- a/host/cmake/Modules/UHDPackage.cmake +++ b/host/cmake/Modules/UHDPackage.cmake @@ -120,6 +120,7 @@ SET(CPACK_SOURCE_IGNORE_FILES "\\\\.git*;\\\\.swp$") # Setup CPack Components ######################################################################## SET(CPACK_COMPONENT_LIBRARIES_GROUP "Development") +SET(CPACK_COMPONENT_PYTHONAPI_GROUP "Development") SET(CPACK_COMPONENT_HEADERS_GROUP "Development") SET(CPACK_COMPONENT_UTILITIES_GROUP "Runtime") SET(CPACK_COMPONENT_EXAMPLES_GROUP "Runtime") @@ -128,6 +129,7 @@ SET(CPACK_COMPONENT_DOXYGEN_GROUP "Documentation") SET(CPACK_COMPONENT_README_GROUP "Documentation") SET(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries") +SET(CPACK_COMPONENT_PYTHONAPI_DISPLAY_NAME "UHD Python API") SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ Headers") SET(CPACK_COMPONENT_UTILITIES_DISPLAY_NAME "Utilities") SET(CPACK_COMPONENT_EXAMPLES_DISPLAY_NAME "Examples") @@ -137,6 +139,7 @@ SET(CPACK_COMPONENT_README_DISPLAY_NAME "Readme") SET(CPACK_COMPONENT_IMAGES_DISPLAY_NAME "Images") SET(CPACK_COMPONENT_LIBRARIES_DESCRIPTION "Dynamic link library") +SET(CPACK_COMPONENT_PYTHONAPI_DESCRIPTION "UHD Python API") SET(CPACK_COMPONENT_HEADERS_DESCRIPTION "C++ development headers") SET(CPACK_COMPONENT_UTILITIES_DESCRIPTION "Utility executables and python scripts") SET(CPACK_COMPONENT_EXAMPLES_DESCRIPTION "Example executables") @@ -151,8 +154,7 @@ SET(CPACK_COMPONENT_UTILITIES_DEPENDS libraries) SET(CPACK_COMPONENT_EXAMPLES_DEPENDS libraries) SET(CPACK_COMPONENT_TESTS_DEPENDS libraries) -SET(CPACK_COMPONENTS_ALL libraries headers utilities examples manual doxygen readme images) - +SET(CPACK_COMPONENTS_ALL libraries pythonapi headers utilities examples manual doxygen readme images) ######################################################################## # Setup CPack Debian ######################################################################## -- cgit v1.2.3