diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 67 |
1 files changed, 8 insertions, 59 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eab6d9bd52..9f07e2c9e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright 2010-2017 Free Software Foundation, Inc. +# Copyright 2010-2012,2014 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -25,7 +25,7 @@ endif(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) ######################################################################## # Project setup ######################################################################## -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8.12) project(gnuradio CXX C) enable_testing() @@ -45,9 +45,9 @@ message(STATUS "Build type set to ${CMAKE_BUILD_TYPE}.") # Set the version information here set(VERSION_INFO_MAJOR_VERSION 3) -set(VERSION_INFO_API_COMPAT 7) -set(VERSION_INFO_MINOR_VERSION 12) -set(VERSION_INFO_MAINT_VERSION git) +set(VERSION_INFO_API_COMPAT 8) +set(VERSION_INFO_MINOR_VERSION git) +set(VERSION_INFO_MAINT_VERSION 0) include(GrVersion) #setup version info # Append -O2 optimization flag for Debug builds (Not on MSVC since conflicts with RTC1 flag) @@ -309,27 +309,6 @@ GR_REGISTER_COMPONENT("testing-support" ENABLE_TESTING ) ######################################################################## -# Add optional dlls specified in DLL_PATHS -######################################################################## -foreach(path ${DLL_PATHS}) - file(GLOB _dlls "${path}/*.dll") - list(APPEND ALL_DLL_FILES ${_dlls}) -endforeach(path) -if(DEFINED ALL_DLL_FILES) - include(GrPackage) - CPACK_COMPONENT("extra_dlls" - DISPLAY_NAME "Extra DLLs" - DESCRIPTION "Extra DLLs for runtime dependency requirements" - ) - message(STATUS "") - message(STATUS "Including the following dlls into the install:") - foreach(_dll ${ALL_DLL_FILES}) - message(STATUS " ${_dll}") - endforeach(_dll) - install(FILES ${ALL_DLL_FILES} DESTINATION ${GR_RUNTIME_DIR} COMPONENT "extra_dlls") -endif() - -######################################################################## # Setup volk as a subproject ######################################################################## message(STATUS "") @@ -379,25 +358,6 @@ if(NOT VOLK_FOUND) set(VOLK_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_PREFIX}/lib) set(VOLK_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/include) - - if(ENABLE_VOLK) - - include(GrPackage) - CPACK_SET(CPACK_COMPONENT_GROUP_VOLK_DESCRIPTION "Vector optimized library of kernels") - - CPACK_COMPONENT("volk_runtime" - GROUP "Volk" - DISPLAY_NAME "Runtime" - DESCRIPTION "Dynamic link libraries" - ) - - CPACK_COMPONENT("volk_devel" - GROUP "Volk" - DISPLAY_NAME "Development" - DESCRIPTION "C++ headers, package config, import libraries" - ) - - endif(ENABLE_VOLK) else() message(STATUS " An external VOLK has been found and will be used for build.") set(ENABLE_VOLK TRUE) @@ -408,8 +368,8 @@ endif(NOT VOLK_FOUND) message(STATUS " Override with -DENABLE_INTERNAL_VOLK=ON/OFF") -# Handle gr_log enable/disable -GR_LOGGING() +# Handle logging +find_package(Log4cpp) ######################################################################## # Distribute the README file @@ -417,7 +377,6 @@ GR_LOGGING() install( FILES README README.hacking DESTINATION ${GR_PKG_DOC_DIR} - COMPONENT "docs" ) ######################################################################## @@ -442,29 +401,24 @@ list(APPEND GR_TEST_PYTHON_DIRS add_subdirectory(docs) add_subdirectory(gnuradio-runtime) add_subdirectory(gr-blocks) -add_subdirectory(grc) add_subdirectory(gr-fec) add_subdirectory(gr-fft) add_subdirectory(gr-filter) add_subdirectory(gr-analog) add_subdirectory(gr-digital) add_subdirectory(gr-dtv) -add_subdirectory(gr-atsc) add_subdirectory(gr-audio) add_subdirectory(gr-comedi) add_subdirectory(gr-channels) -add_subdirectory(gr-noaa) -add_subdirectory(gr-pager) add_subdirectory(gr-qtgui) add_subdirectory(gr-trellis) add_subdirectory(gr-uhd) add_subdirectory(gr-utils) add_subdirectory(gr-video-sdl) add_subdirectory(gr-vocoder) -add_subdirectory(gr-fcd) add_subdirectory(gr-wavelet) -add_subdirectory(gr-wxgui) add_subdirectory(gr-zeromq) +add_subdirectory(grc) # Defining GR_CTRLPORT for gnuradio/config.h if(ENABLE_GR_CTRLPORT) @@ -512,12 +466,8 @@ list(REMOVE_ITEM cmake_others install( FILES ${cmake_configs} ${cmake_others} DESTINATION ${CMAKE_MODULES_DIR}/gnuradio - COMPONENT "runtime_devel" ) -#finalize cpack after subdirs processed -include(GrPackage) -CPACK_FINALIZE() ######################################################################## # Print summary @@ -544,5 +494,4 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-runtime/include/gnuradio/config.h DESTINATION ${GR_INCLUDE_DIR}/gnuradio - COMPONENT "runtime_devel" ) |