[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/07: cmake: adding a function to allow co
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/07: cmake: adding a function to allow components to reference submodules for display. |
Date: |
Thu, 14 Aug 2014 15:23:29 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit f1c8ab4aff39340da87b82758263c11b4c9a6754
Author: Tom Rondeau <address@hidden>
Date: Wed Aug 13 16:05:24 2014 -0400
cmake: adding a function to allow components to reference submodules for
display.
Mostly designed for gr-audio to print out which audio machines are enabled
in the build.
---
cmake/Modules/GrComponent.cmake | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/cmake/Modules/GrComponent.cmake b/cmake/Modules/GrComponent.cmake
index 5be3e81..031ccd7 100644
--- a/cmake/Modules/GrComponent.cmake
+++ b/cmake/Modules/GrComponent.cmake
@@ -90,6 +90,12 @@ function(GR_REGISTER_COMPONENT name var)
set(_gr_disabled_components ${_gr_disabled_components} CACHE INTERNAL ""
FORCE)
endfunction(GR_REGISTER_COMPONENT)
+
+function(GR_APPEND_SUBCOMPONENT name)
+ list(APPEND _gr_enabled_components "* ${name}")
+ set(_gr_enabled_components ${_gr_enabled_components} CACHE INTERNAL "" FORCE)
+endfunction(GR_APPEND_SUBCOMPONENT name)
+
########################################################################
# Print the registered component summary
########################################################################
- [Commit-gnuradio] [gnuradio] branch master updated (2e691d8 -> 842d8c9), git, 2014/08/14
- [Commit-gnuradio] [gnuradio] 01/07: logger: adding new configure_default_logger function to make it easier to get log file info on logger setup., git, 2014/08/14
- [Commit-gnuradio] [gnuradio] 05/07: Merge remote-tracking branch 'arya/audio_registration', git, 2014/08/14
- [Commit-gnuradio] [gnuradio] 02/07: cmake: adding a function to allow components to reference submodules for display.,
git <=
- [Commit-gnuradio] [gnuradio] 03/07: audio: modified the audio registration system., git, 2014/08/14
- [Commit-gnuradio] [gnuradio] 07/07: Merge branch 'maint', git, 2014/08/14
- [Commit-gnuradio] [gnuradio] 04/07: Merge branch 'maint', git, 2014/08/14
- [Commit-gnuradio] [gnuradio] 06/07: logger: poor placement of the function inside the ifdefs. Moving outside to make the function accessible with any logger setting., git, 2014/08/14