diff --git a/CMakeLists.txt b/CMakeLists.txt index fe747656a..824852300 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,7 +242,7 @@ find_package(Doxygen OPTIONAL_COMPONENTS dot mscgen dia) include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_API_DOXYGEN "Enable LMS API Doxygen documentation" ON "DOXYGEN_FOUND" OFF) -add_feature_info(LimeSuiteDocAPI ENABLE_API_DOXYGEN "LMS API Doxygen documentation") +add_feature_info(API_DOXYGEN ENABLE_API_DOXYGEN "LMS API Doxygen documentation") if (ENABLE_API_DOXYGEN) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/docs/doxygen/DoxyfileAPI.in ${CMAKE_CURRENT_BINARY_DIR}/doc/Doxyfile @ONLY) add_custom_target(docAPI ALL diff --git a/Desktop/CMakeLists.txt b/Desktop/CMakeLists.txt index f37dfacaa..d22b7996f 100644 --- a/Desktop/CMakeLists.txt +++ b/Desktop/CMakeLists.txt @@ -8,7 +8,7 @@ endif() include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_DESKTOP "Enable LimeSuite launcher and icons" ON "ENABLE_GUI;LINUX" OFF) -add_feature_info(LimeSuiteDesktop ENABLE_DESKTOP "LimeSuite freedesktop integration") +add_feature_info(DESKTOP ENABLE_DESKTOP "LimeSuite freedesktop integration") if (NOT ENABLE_DESKTOP) return() endif() diff --git a/SoapyLMS7/CMakeLists.txt b/SoapyLMS7/CMakeLists.txt index 7546a2ce3..93233e0f3 100644 --- a/SoapyLMS7/CMakeLists.txt +++ b/SoapyLMS7/CMakeLists.txt @@ -13,9 +13,9 @@ set_package_properties(SoapySDR PROPERTIES ######################################################################## include(FeatureSummary) include(CMakeDependentOption) -cmake_dependent_option(ENABLE_SOAPY_LMS7 "Enable LMS7 SoapySDR bindings" ON "ENABLE_LIBRARY;SoapySDR_FOUND" OFF) -add_feature_info(SoapySDRLMS7 ENABLE_SOAPY_LMS7 "SoapySDR bindings for LMS7") -if (NOT ENABLE_SOAPY_LMS7) +cmake_dependent_option(ENABLE_SOAPYSDR "Enable LimeSuite SoapySDR bindings" ON "ENABLE_LIBRARY;SoapySDR_FOUND" OFF) +add_feature_info(SOAPYSDR ENABLE_SOAPYSDR "SoapySDR bindings for LimeSuite") +if (NOT ENABLE_SOAPYSDR) return() endif() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8b73ba3c7..4a8922fe0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,7 +9,7 @@ FILE(GLOB LIME_SUITE_PUBLIC_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CM include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_HEADERS "Enable install headers" ON "TRUE" OFF) -add_feature_info(LimeSuiteHeaders ENABLE_HEADERS "The lime suite headers") +add_feature_info(HEADERS ENABLE_HEADERS "The lime suite headers") if (ENABLE_HEADERS) install( FILES ${LIME_SUITE_PUBLIC_HEADERS} @@ -111,7 +111,7 @@ include(CMakeDependentOption) add_subdirectory(vectorization) option(ENABLE_LIBRARY "Enable build library" ON) -add_feature_info(LimeSuiteLibrary ENABLE_LIBRARY "The lime suite library") +add_feature_info(LIBRARY ENABLE_LIBRARY "The lime suite library") if (ENABLE_LIBRARY) add_library(${MAIN_LIBRARY_NAME} ${LIME_SUITE_SOURCES}) target_link_libraries(${MAIN_LIBRARY_NAME} PUBLIC ${LIME_SUITE_LIBRARIES} samplesConversion) @@ -248,7 +248,7 @@ set(LMS7SUITE_GUI_SOURCES include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_GUI "Enable build GUI" ON "ENABLE_LIBRARY;wxWidgets_FOUND" OFF) -add_feature_info(${GUI_EXECUTABLE_NAME} ENABLE_GUI "GUI Application for LimeSuite") +add_feature_info(GUI ENABLE_GUI "GUI Application for LimeSuite") if (ENABLE_GUI) include_directories(lms7002_wxgui) diff --git a/src/boards/LimeSDR/CMakeLists.txt b/src/boards/LimeSDR/CMakeLists.txt index c7feed53d..212f3e859 100644 --- a/src/boards/LimeSDR/CMakeLists.txt +++ b/src/boards/LimeSDR/CMakeLists.txt @@ -15,7 +15,7 @@ set(LIMESDR_SOURCES include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_LIMESDR_USB "Enable LimeSDR support" ON "ENABLE_LIBRARY;ENABLE_USB_FX3" OFF) -add_feature_info(BoardLimeSDR ENABLE_LIMESDR_USB "LimeSDR board support") +add_feature_info(LIMESDR_USB ENABLE_LIMESDR_USB "LimeSDR USB board support") if (NOT ENABLE_LIMESDR_USB) return() endif() diff --git a/src/boards/LimeSDR_Mini/CMakeLists.txt b/src/boards/LimeSDR_Mini/CMakeLists.txt index 4ee632e09..60128a3b8 100644 --- a/src/boards/LimeSDR_Mini/CMakeLists.txt +++ b/src/boards/LimeSDR_Mini/CMakeLists.txt @@ -16,7 +16,7 @@ set(LIMESDR_MINI_SOURCES include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_LIMESDR_MINI "Enable LimeSDR Mini support" ON "ENABLE_LIBRARY;ENABLE_USB_FTDI" OFF) -add_feature_info(BoardLimeSDR_Mini ENABLE_LIMESDR_MINI "LimeSDR Mini board support") +add_feature_info(LIMESDR_MINI ENABLE_LIMESDR_MINI "LimeSDR Mini board support") if (NOT ENABLE_LIMESDR_MINI) return() endif() diff --git a/src/boards/LimeSDR_X3/CMakeLists.txt b/src/boards/LimeSDR_X3/CMakeLists.txt index 39d59e9a7..561205924 100644 --- a/src/boards/LimeSDR_X3/CMakeLists.txt +++ b/src/boards/LimeSDR_X3/CMakeLists.txt @@ -18,7 +18,7 @@ set(LIMESDR_X3_SOURCES include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_LIMESDR_X3 "Enable LimeSDR X3 board support" ON "ENABLE_LIBRARY;ENABLE_LITE_PCIE" OFF) -add_feature_info(ENABLE_LIMESDR_X3 ENABLE_LIMESDR_X3 "LimeSDR X3 board support") +add_feature_info(LIMESDR_X3 ENABLE_LIMESDR_X3 "LimeSDR X3 board support") if (NOT ENABLE_LIMESDR_X3) return() endif() diff --git a/src/boards/LimeSDR_XTRX/CMakeLists.txt b/src/boards/LimeSDR_XTRX/CMakeLists.txt index d54a820ad..9420412aa 100644 --- a/src/boards/LimeSDR_XTRX/CMakeLists.txt +++ b/src/boards/LimeSDR_XTRX/CMakeLists.txt @@ -17,7 +17,7 @@ set(LIMESDR_XTRX_SOURCES include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_LIMESDR_XTRX "Enable LimeSDR XTRX support" ON "ENABLE_LIBRARY;ENABLE_LITE_PCIE" OFF) -add_feature_info(BoardLimeSDRXTRX ENABLE_LIMESDR_XTRX "LimeSDR XTRX board support") +add_feature_info(LIMESDR_XTRX ENABLE_LIMESDR_XTRX "LimeSDR XTRX board support") if (NOT ENABLE_LIMESDR_XTRX) return() endif() diff --git a/src/boards/MMX8/CMakeLists.txt b/src/boards/MMX8/CMakeLists.txt index 2ac86d258..d9a6a68e6 100644 --- a/src/boards/MMX8/CMakeLists.txt +++ b/src/boards/MMX8/CMakeLists.txt @@ -15,7 +15,7 @@ set(MM_X8_SOURCES include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_LIMESDR_MMX8 "Enable LimeMM-X8 board support" ON "ENABLE_LIBRARY;ENABLE_LITE_PCIE" OFF) -add_feature_info(ENABLE_LIMESDR_MMX8 ENABLE_LIMESDR_MMX8 "LimeSDR MM-X8 board support") +add_feature_info(LIMESDR_MMX8 ENABLE_LIMESDR_MMX8 "LimeSDR MM-X8 board support") if (NOT ENABLE_LIMESDR_MMX8) return() endif() diff --git a/src/cli/CMakeLists.txt b/src/cli/CMakeLists.txt index ce619189b..bd1ed96da 100644 --- a/src/cli/CMakeLists.txt +++ b/src/cli/CMakeLists.txt @@ -1,7 +1,7 @@ include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_CLI "Enable command line programs" ON "ENABLE_LIBRARY" ON) -add_feature_info(ENABLE_CLI ENABLE_CLI "LimeSuite command line interface tools") +add_feature_info(CLI ENABLE_CLI "LimeSuite command line interface tools") if (NOT ENABLE_CLI) return() endif() diff --git a/src/comms/PCIe/CMakeLists.txt b/src/comms/PCIe/CMakeLists.txt index 17fecc7ac..9f2cfd4ab 100644 --- a/src/comms/PCIe/CMakeLists.txt +++ b/src/comms/PCIe/CMakeLists.txt @@ -15,7 +15,7 @@ set(COMMS_LITE_PCIE_SOURCES include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_LITE_PCIE "Enable Lite PCIe" ON "UNIX;ENABLE_LIBRARY" OFF) -add_feature_info(ConnectionLitePCIe ENABLE_LITE_PCIE "Lite PCIe Connection support") +add_feature_info(LITE_PCIE ENABLE_LITE_PCIE "PCIe support") if (NOT ENABLE_LITE_PCIE) return() endif() diff --git a/src/examples/CMakeLists.txt b/src/examples/CMakeLists.txt index 9cb9fbc13..d355aa784 100644 --- a/src/examples/CMakeLists.txt +++ b/src/examples/CMakeLists.txt @@ -1,7 +1,7 @@ include(FeatureSummary) include(CMakeDependentOption) cmake_dependent_option(ENABLE_EXAMPLES "Enable library example programs" ON "ENABLE_LIBRARY" ON) -add_feature_info(LimeSuiteExamples ENABLE_EXAMPLES "LimeSuite library API examples") +add_feature_info(EXAMPLES ENABLE_EXAMPLES "LimeSuite library API examples") if (NOT ENABLE_EXAMPLES) return() endif()