aboutsummaryrefslogtreecommitdiffstats
path: root/host/Modules/UHDComponent.cmake
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-14 10:07:31 -0800
committerJosh Blum <josh@joshknows.com>2011-01-14 10:07:31 -0800
commit4818bd27f07acea1e663086d59fbb7d44bd5af81 (patch)
treea9cc80e503273c51edd4a374732aa7692a243edc /host/Modules/UHDComponent.cmake
parent350c606585a45af79b8c6bf6b0e6753afa1d95d8 (diff)
downloaduhd-4818bd27f07acea1e663086d59fbb7d44bd5af81.tar.gz
uhd-4818bd27f07acea1e663086d59fbb7d44bd5af81.tar.bz2
uhd-4818bd27f07acea1e663086d59fbb7d44bd5af81.zip
uhd: more useful prints for component macro
made libuhd a component so we can just build the docs do the python tests in the top level cmakelists misc other tweaks
Diffstat (limited to 'host/Modules/UHDComponent.cmake')
-rw-r--r--host/Modules/UHDComponent.cmake9
1 files changed, 6 insertions, 3 deletions
diff --git a/host/Modules/UHDComponent.cmake b/host/Modules/UHDComponent.cmake
index 63b32eadf..4ea55bbb9 100644
--- a/host/Modules/UHDComponent.cmake
+++ b/host/Modules/UHDComponent.cmake
@@ -30,7 +30,9 @@ SET(_uhd_disabled_components "" CACHE INTERNAL "" FORCE)
MACRO(LIBUHD_REGISTER_COMPONENT name var enb deps dis)
MESSAGE(STATUS "")
MESSAGE(STATUS "Configuring ${name} support...")
- MESSAGE(STATUS "Manually override with -D${var}=ON/OFF")
+ FOREACH(dep ${deps})
+ MESSAGE(STATUS " Dependency ${dep} = ${${dep}}")
+ ENDFOREACH(dep)
#setup the dependent option for this component
INCLUDE(CMakeDependentOption)
@@ -44,6 +46,7 @@ MACRO(LIBUHD_REGISTER_COMPONENT name var enb deps dis)
MESSAGE(STATUS " Disabling ${name} support.")
LIST(APPEND _uhd_disabled_components ${name})
ENDIF(${var})
+ MESSAGE(STATUS " Override with -D${var}=ON/OFF")
#make components lists into global variables
SET(_uhd_enabled_components ${_uhd_enabled_components} CACHE INTERNAL "" FORCE)
@@ -56,7 +59,7 @@ ENDMACRO(LIBUHD_REGISTER_COMPONENT)
FUNCTION(UHD_PRINT_COMPONENT_SUMMARY)
MESSAGE(STATUS "")
MESSAGE(STATUS "######################################################")
- MESSAGE(STATUS "# LibUHD enabled components ")
+ MESSAGE(STATUS "# UHD enabled components ")
MESSAGE(STATUS "######################################################")
FOREACH(comp ${_uhd_enabled_components})
MESSAGE(STATUS " * ${comp}")
@@ -64,7 +67,7 @@ FUNCTION(UHD_PRINT_COMPONENT_SUMMARY)
MESSAGE(STATUS "")
MESSAGE(STATUS "######################################################")
- MESSAGE(STATUS "# LibUHD disabled components ")
+ MESSAGE(STATUS "# UHD disabled components ")
MESSAGE(STATUS "######################################################")
FOREACH(comp ${_uhd_disabled_components})
MESSAGE(STATUS " * ${comp}")