1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-30 03:38:55 -05:00
sdrangel/plugins/channeltx/modwfm/CMakeLists.txt

51 lines
813 B
CMake
Raw Normal View History

project(modwfm)
2018-03-29 11:27:03 -04:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(modwfm_SOURCES
wfmmod.cpp
wfmmodgui.cpp
wfmmodplugin.cpp
2017-10-12 16:49:47 -04:00
wfmmodsettings.cpp
)
set(modwfm_HEADERS
wfmmod.h
wfmmodgui.h
wfmmodplugin.h
2017-10-12 16:49:47 -04:00
wfmmodsettings.h
)
set(modwfm_FORMS
wfmmodgui.ui
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
qt5_wrap_ui(modwfm_FORMS_HEADERS ${modwfm_FORMS})
add_library(modwfm SHARED
${modwfm_SOURCES}
${modwfm_HEADERS_MOC}
${modwfm_FORMS_HEADERS}
)
target_link_libraries(modwfm
${QT_LIBRARIES}
sdrbase
sdrgui
swagger
)
target_link_libraries(modwfm Qt5::Core Qt5::Widgets)
install(TARGETS modwfm DESTINATION lib/plugins/channeltx)