diff options
author | Josh Blum | 2012-08-27 21:31:47 -0700 |
---|---|---|
committer | Josh Blum | 2012-08-27 21:31:47 -0700 |
commit | 4a19e6d96e83f0228fc1b8c43cc020451b944f64 (patch) | |
tree | 34242790cd661dd66b2934f948f8e13c25f83db8 /lib | |
parent | d9132ce861b61f29ab66089df8ce64194432d039 (diff) | |
download | sandhi-4a19e6d96e83f0228fc1b8c43cc020451b944f64.tar.gz sandhi-4a19e6d96e83f0228fc1b8c43cc020451b944f64.tar.bz2 sandhi-4a19e6d96e83f0228fc1b8c43cc020451b944f64.zip |
runtime: making swig runtime docs happy
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 8483a0b..b954182 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -82,14 +82,6 @@ install(FILES COMPONENT "core_devel" ) -#also copy these to the build dir for swig docs -foreach(header ${runtime_headers}) - execute_process( - COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/ - COMMAND ${CMAKE_COMMAND} -E copy ${header} ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/ - ) -endforeach(header) - ######################################################################## # Install swig headers ######################################################################## @@ -100,4 +92,11 @@ install(FILES DESTINATION ${GR_INCLUDE_DIR}/gnuradio/swig COMPONENT "core_swig" ) + +#makes swig doc generator happy +execute_process( + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/ + COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/nop.h +) + endif(ENABLE_PYTHON) |