2014-05-18 11:52:39 -04:00
|
|
|
project(plugins)
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
|
|
${CMAKE_SOURCE_DIR}/sdrgui
|
|
|
|
)
|
|
|
|
|
2019-05-01 09:17:27 -04:00
|
|
|
if (NOT SERVER_MODE)
|
2019-05-24 02:32:40 -04:00
|
|
|
if(WIN32)
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${BUILD_PLUGINS_RUNTIME_DIR}")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${BUILD_PLUGINS_RUNTIME_DIR}")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${BUILD_PLUGINS_RUNTIME_DIR}")
|
2020-07-20 00:11:27 -04:00
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${BUILD_PLUGINS_RUNTIME_DIR}")
|
2019-05-24 02:32:40 -04:00
|
|
|
endif()
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${BUILD_PLUGINS_DIR}")
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${BUILD_PLUGINS_DIR}")
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${BUILD_PLUGINS_DIR}")
|
2020-07-20 00:11:27 -04:00
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELWITHDEBINFO "${BUILD_PLUGINS_DIR}")
|
2019-05-24 02:32:40 -04:00
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${BUILD_PLUGINS_DIR}")
|
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${BUILD_PLUGINS_DIR}")
|
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${BUILD_PLUGINS_DIR}")
|
2020-07-20 00:11:27 -04:00
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${BUILD_PLUGINS_DIR}")
|
2019-05-01 09:17:27 -04:00
|
|
|
else()
|
2019-05-24 02:32:40 -04:00
|
|
|
if(WIN32)
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${BUILD_PLUGINSSRV_RUNTIME_DIR}")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${BUILD_PLUGINSSRV_RUNTIME_DIR}")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${BUILD_PLUGINSSRV_RUNTIME_DIR}")
|
2020-07-20 00:11:27 -04:00
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${BUILD_PLUGINSSRV_RUNTIME_DIR}")
|
2019-05-24 02:32:40 -04:00
|
|
|
endif()
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${BUILD_PLUGINSSRV_DIR}")
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${BUILD_PLUGINSSRV_DIR}")
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${BUILD_PLUGINSSRV_DIR}")
|
2020-07-20 00:11:27 -04:00
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELWITHDEBINFO "${BUILD_PLUGINSSRV_DIR}")
|
2019-05-24 02:32:40 -04:00
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${BUILD_PLUGINSSRV_DIR}")
|
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${BUILD_PLUGINSSRV_DIR}")
|
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${BUILD_PLUGINSSRV_DIR}")
|
2020-07-20 00:11:27 -04:00
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${BUILD_PLUGINSSRV_DIR}")
|
2019-05-01 09:17:27 -04:00
|
|
|
endif()
|
|
|
|
|
2022-06-25 05:56:45 -04:00
|
|
|
if (ENABLE_CHANNELMIMO)
|
|
|
|
add_subdirectory(channelmimo)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELRX)
|
|
|
|
add_subdirectory(channelrx)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_CHANNELTX)
|
|
|
|
add_subdirectory(channeltx)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (ENABLE_FEATURE)
|
|
|
|
add_subdirectory(feature)
|
|
|
|
endif()
|
|
|
|
|
2020-11-10 08:28:37 -05:00
|
|
|
add_subdirectory(samplemimo)
|
2014-05-18 11:52:39 -04:00
|
|
|
add_subdirectory(samplesource)
|
2016-10-19 16:32:14 -04:00
|
|
|
add_subdirectory(samplesink)
|