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()
|
|
|
|
|
2016-10-02 07:18:07 -04:00
|
|
|
add_subdirectory(channelrx)
|
2016-10-20 12:04:15 -04:00
|
|
|
add_subdirectory(channeltx)
|
2020-09-19 19:06:50 -04:00
|
|
|
add_subdirectory(feature)
|
2014-05-18 11:52:39 -04:00
|
|
|
add_subdirectory(samplesource)
|
2016-10-19 16:32:14 -04:00
|
|
|
add_subdirectory(samplesink)
|