sdrangel/plugins/channelrx/demodlora/CMakeLists.txt

49 wiersze
760 B
CMake
Czysty Zwykły widok Historia

2015-01-11 00:12:58 +00:00
project(lora)
set(lora_SOURCES
lorademod.cpp
lorademodgui.cpp
2017-10-07 20:18:33 +00:00
lorademodsettings.cpp
2015-01-11 00:12:58 +00:00
loraplugin.cpp
)
set(lora_HEADERS
lorademod.h
lorademodgui.h
2017-10-07 20:18:33 +00:00
lorademodsettings.h
2015-01-11 00:12:58 +00:00
loraplugin.h
)
set(lora_FORMS
lorademodgui.ui
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
#qt5_wrap_cpp(lora_HEADERS_MOC ${lora_HEADERS})
qt5_wrap_ui(lora_FORMS_HEADERS ${lora_FORMS})
add_library(demodlora SHARED
${lora_SOURCES}
${lora_HEADERS_MOC}
${lora_FORMS_HEADERS}
)
target_link_libraries(demodlora
${QT_LIBRARIES}
sdrbase
sdrgui
2015-01-11 00:12:58 +00:00
)
qt5_use_modules(demodlora Core Widgets)
install(TARGETS demodlora DESTINATION lib/plugins/channelrx)