Attempted cmake cleanup

This commit is contained in:
AlexandreRouma
2022-06-23 22:21:25 +02:00
parent db034527e9
commit fb0e0d732b
34 changed files with 9 additions and 276 deletions
CMakeLists.txt
core
decoder_modules
falcon9_decoder
kg_sstv_decoder
m17_decoder
meteor_demodulator
radio
weather_sat_decoder
misc_modules
demo_module
discord_integration
frequency_manager
recorder
rigctl_server
scanner
scheduler
sink_modules
audio_sink
network_sink
new_portaudio_sink
portaudio_sink
source_modules
airspy_source
airspyhf_source
bladerf_source
file_source
hackrf_source
limesdr_source
plutosdr_source
rfspace_source
rtl_sdr_source
rtl_tcp_source
sddc_source
sdrplay_source
sdrpp_server_source
soapy_source
spyserver_source

@@ -9,13 +9,5 @@ add_library(meteor_demodulator SHARED ${SRC})
target_link_libraries(meteor_demodulator PRIVATE sdrpp_core)
set_target_properties(meteor_demodulator PROPERTIES PREFIX "")
if (MSVC)
target_compile_options(meteor_demodulator PRIVATE /O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_options(meteor_demodulator PRIVATE -O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()
target_compile_options(meteor_demodulator PRIVATE -O3 -std=c++17)
endif ()
# Install directives
install(TARGETS meteor_demodulator DESTINATION lib/sdrpp/plugins)