2018-11-02 15:06:08 +00:00
|
|
|
cmake_minimum_required( VERSION 3.8.2 )
|
|
|
|
|
|
|
|
project (habdec)
|
|
|
|
set ( CMAKE_CXX_STANDARD 11 )
|
|
|
|
|
|
|
|
# set ( CMAKE_BUILD_TYPE "Debug" )
|
|
|
|
# set ( CMAKE_BUILD_TYPE "Release" )
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
set(CMAKE_BUILD_TYPE "Release")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if ( CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )
|
|
|
|
set ( CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Install dir" FORCE)
|
|
|
|
endif()
|
|
|
|
message ( "CMAKE_INSTALL_PREFIX: " ${CMAKE_INSTALL_PREFIX} )
|
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory("Decoder")
|
|
|
|
add_subdirectory("IQSource")
|
2020-04-23 16:03:37 +00:00
|
|
|
add_subdirectory("ssdv_build")
|
2018-11-02 15:06:08 +00:00
|
|
|
add_subdirectory("websocketServer")
|
|
|
|
|
|
|
|
option( fltkGUI "fltkGUI" OFF )
|
|
|
|
if(fltkGUI)
|
|
|
|
add_subdirectory("fltkGUI")
|
|
|
|
endif()
|