77 changed files with 173 additions and 138 deletions
@ -1,50 +1,51 @@
@@ -1,50 +1,51 @@
|
||||
project(modam) |
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
||||
|
||||
set(modam_SOURCES |
||||
ammod.cpp |
||||
ammodgui.cpp |
||||
ammodplugin.cpp |
||||
ammodsettings.cpp |
||||
) |
||||
|
||||
set(modam_HEADERS |
||||
ammod.h |
||||
ammodgui.h |
||||
ammodplugin.h |
||||
ammodsettings.h |
||||
) |
||||
|
||||
set(modam_FORMS |
||||
ammodgui.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(modam_FORMS_HEADERS ${modam_FORMS}) |
||||
|
||||
add_library(modam SHARED |
||||
${modam_SOURCES} |
||||
${modam_HEADERS_MOC} |
||||
${modam_FORMS_HEADERS} |
||||
) |
||||
|
||||
target_link_libraries(modam |
||||
${QT_LIBRARIES} |
||||
sdrbase |
||||
sdrgui |
||||
swagger |
||||
) |
||||
|
||||
qt5_use_modules(modam Core Widgets) |
||||
|
||||
install(TARGETS modam DESTINATION lib/plugins/channeltx) |
||||
project(modam) |
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
||||
|
||||
set(modam_SOURCES |
||||
ammod.cpp |
||||
ammodgui.cpp |
||||
ammodplugin.cpp |
||||
ammodsettings.cpp |
||||
) |
||||
|
||||
set(modam_HEADERS |
||||
ammod.h |
||||
ammodgui.h |
||||
ammodplugin.h |
||||
ammodsettings.h |
||||
) |
||||
|
||||
set(modam_FORMS |
||||
ammodgui.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(modam_FORMS_HEADERS ${modam_FORMS}) |
||||
|
||||
add_library(modam SHARED |
||||
${modam_SOURCES} |
||||
${modam_HEADERS_MOC} |
||||
${modam_FORMS_HEADERS} |
||||
) |
||||
|
||||
target_link_libraries(modam |
||||
${QT_LIBRARIES} |
||||
sdrbase |
||||
sdrgui |
||||
swagger |
||||
) |
||||
|
||||
target_link_libraries(modam Qt5::Core Qt5::Widgets) |
||||
|
||||
install(TARGETS modam DESTINATION lib/plugins/channeltx) |
||||
|
||||
|
||||
Loading…
Reference in new issue