diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-12-03 19:43:50 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-12-03 19:43:50 -0500 |
commit | 406e881106de9ce5d09fa6f4c24e08d8ef63cb49 (patch) | |
tree | cc2426035b9910855aa464b5f21784e0efb20202 /grc | |
parent | 1fea3358fbb5796ca50475e55dd7f0d443f1cd73 (diff) |
ctrlport: fixing up controlport integration into gnuradio-core for merge with next.
Diffstat (limited to 'grc')
-rw-r--r-- | grc/blocks/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/grc/blocks/CMakeLists.txt b/grc/blocks/CMakeLists.txt index fce4a19071..879c69a8ec 100644 --- a/grc/blocks/CMakeLists.txt +++ b/grc/blocks/CMakeLists.txt @@ -19,4 +19,14 @@ ######################################################################## file(GLOB xml_files "*.xml") + +# Force out the controlport GRC blocks if we've disabled it. +if(NOT ENABLE_GR_CTRLPORT) + list(REMOVE_ITEM xml_files + ${CMAKE_CURRENT_SOURCE_DIR}/gr_ctrlport_viewer.xml + ${CMAKE_CURRENT_SOURCE_DIR}/gr_ctrlport_probe_c.xml + ${CMAKE_CURRENT_SOURCE_DIR}/gr_ctrlport_probe2_c.xml + ) +endif(NOT ENABLE_GR_CTRLPORT) + install(FILES ${xml_files} DESTINATION ${GRC_BLOCKS_DIR} COMPONENT "grc") |