2017-10-22 17:12:43 +00:00
|
|
|
project (sdrgui)
|
|
|
|
|
2019-05-09 10:02:19 +00:00
|
|
|
# with cmake <3.9 doesn't work with ../ used on webapi
|
|
|
|
# see https://cmake.org/cmake/help/v3.9/prop_tgt/AUTOUIC_SEARCH_PATHS.html
|
|
|
|
set(CMAKE_AUTOUIC OFF)
|
|
|
|
|
2017-10-22 17:12:43 +00:00
|
|
|
set(sdrgui_SOURCES
|
|
|
|
mainwindow.cpp
|
|
|
|
gui/aboutdialog.cpp
|
|
|
|
gui/addpresetdialog.cpp
|
2019-07-19 16:38:03 +00:00
|
|
|
gui/ambedevicesdialog.cpp
|
2018-03-26 16:41:09 +00:00
|
|
|
gui/audiodialog.cpp
|
|
|
|
gui/audioselectdialog.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/basicchannelsettingsdialog.cpp
|
2018-12-17 00:25:54 +00:00
|
|
|
gui/basicdevicesettingsdialog.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/buttonswitch.cpp
|
|
|
|
gui/channelwindow.cpp
|
|
|
|
gui/clickablelabel.cpp
|
|
|
|
gui/colormapper.cpp
|
2018-01-04 10:11:53 +00:00
|
|
|
gui/commanditem.cpp
|
2018-01-05 04:05:12 +00:00
|
|
|
gui/commandkeyreceiver.cpp
|
2018-01-04 19:15:33 +00:00
|
|
|
gui/commandoutputdialog.cpp
|
2018-12-19 12:11:57 +00:00
|
|
|
gui/comboboxnoarrow.cpp
|
2018-03-26 16:41:09 +00:00
|
|
|
gui/crightclickenabler.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/cwkeyergui.cpp
|
2019-05-20 23:52:13 +00:00
|
|
|
gui/devicestreamselectiondialog.cpp
|
2019-06-12 16:50:53 +00:00
|
|
|
gui/deviceuserargsdialog.cpp
|
2018-01-04 10:11:53 +00:00
|
|
|
gui/editcommanddialog.cpp
|
2017-11-05 04:50:01 +00:00
|
|
|
gui/externalclockbutton.cpp
|
|
|
|
gui/externalclockdialog.cpp
|
2018-08-12 15:07:43 +00:00
|
|
|
gui/glscope.cpp
|
2018-08-12 14:56:52 +00:00
|
|
|
gui/glscopegui.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/glshadersimple.cpp
|
|
|
|
gui/glshadertextured.cpp
|
2018-03-11 12:00:33 +00:00
|
|
|
gui/glshadertvarray.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/glspectrum.cpp
|
|
|
|
gui/glspectrumgui.cpp
|
|
|
|
gui/indicator.cpp
|
|
|
|
gui/levelmeter.cpp
|
2017-11-11 18:26:23 +00:00
|
|
|
gui/loggingdialog.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/mypositiondialog.cpp
|
|
|
|
gui/pluginsdialog.cpp
|
|
|
|
gui/presetitem.cpp
|
|
|
|
gui/rollupwidget.cpp
|
|
|
|
gui/samplingdevicecontrol.cpp
|
2017-11-02 02:30:54 +00:00
|
|
|
gui/samplingdevicedialog.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/scaleengine.cpp
|
2019-05-14 17:23:13 +00:00
|
|
|
gui/sdrangelsplash.cpp
|
2017-11-21 00:09:47 +00:00
|
|
|
gui/tickedslider.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/transverterbutton.cpp
|
|
|
|
gui/transverterdialog.cpp
|
2018-03-11 15:39:02 +00:00
|
|
|
gui/tvscreen.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/valuedial.cpp
|
|
|
|
gui/valuedialz.cpp
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2018-08-12 15:23:32 +00:00
|
|
|
dsp/scopevis.cpp
|
2018-03-12 04:07:51 +00:00
|
|
|
dsp/scopevisxy.cpp
|
2017-10-22 17:12:43 +00:00
|
|
|
dsp/spectrumvis.cpp
|
2018-08-12 15:13:06 +00:00
|
|
|
dsp/spectrumscopecombovis.cpp
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2017-10-24 16:29:18 +00:00
|
|
|
device/deviceuiset.cpp
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2018-11-02 23:07:43 +00:00
|
|
|
soapygui/discreterangegui.cpp
|
|
|
|
soapygui/intervalrangegui.cpp
|
|
|
|
soapygui/itemsettinggui.cpp
|
2018-11-04 22:54:16 +00:00
|
|
|
soapygui/stringrangegui.cpp
|
2018-11-05 16:27:32 +00:00
|
|
|
soapygui/dynamicitemsettinggui.cpp
|
2018-11-11 01:30:10 +00:00
|
|
|
soapygui/dynamicargsettinggui.cpp
|
2018-11-07 00:33:17 +00:00
|
|
|
soapygui/intervalslidergui.cpp
|
2018-11-08 13:35:02 +00:00
|
|
|
soapygui/complexfactorgui.cpp
|
2018-11-10 18:52:27 +00:00
|
|
|
soapygui/arginfogui.cpp
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2017-11-18 18:34:47 +00:00
|
|
|
webapi/webapiadaptergui.cpp
|
2019-05-01 09:54:58 +00:00
|
|
|
|
|
|
|
resources/res.qrc
|
2017-10-22 17:12:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrgui_HEADERS
|
|
|
|
mainwindow.h
|
|
|
|
gui/aboutdialog.h
|
|
|
|
gui/addpresetdialog.h
|
2019-07-19 16:38:03 +00:00
|
|
|
gui/ambedevicesdialog.h
|
2018-03-26 16:41:09 +00:00
|
|
|
gui/audiodialog.h
|
|
|
|
gui/audioselectdialog.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/basicchannelsettingsdialog.h
|
2018-12-17 00:25:54 +00:00
|
|
|
gui/basicdevicesettingsdialog.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/buttonswitch.h
|
|
|
|
gui/channelwindow.h
|
|
|
|
gui/colormapper.h
|
2018-01-04 10:11:53 +00:00
|
|
|
gui/commanditem.h
|
2018-01-05 04:05:12 +00:00
|
|
|
gui/commandkeyreceiver.h
|
2018-01-04 19:15:33 +00:00
|
|
|
gui/commandoutputdialog.h
|
2018-12-19 12:11:57 +00:00
|
|
|
gui/comboboxnoarrow.h
|
2018-03-26 16:41:09 +00:00
|
|
|
gui/crightclickenabler.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/cwkeyergui.h
|
2019-05-20 23:52:13 +00:00
|
|
|
gui/devicestreamselectiondialog.h
|
2019-06-12 16:50:53 +00:00
|
|
|
gui/deviceuserargsdialog.h
|
2018-01-04 10:11:53 +00:00
|
|
|
gui/editcommanddialog.h
|
2017-11-05 04:50:01 +00:00
|
|
|
gui/externalclockbutton.h
|
|
|
|
gui/externalclockdialog.h
|
2018-08-12 15:06:55 +00:00
|
|
|
gui/glscope.h
|
2018-08-12 14:56:03 +00:00
|
|
|
gui/glscopegui.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/glshadersimple.h
|
2018-03-11 12:00:33 +00:00
|
|
|
gui/glshadertvarray.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/glshadertextured.h
|
|
|
|
gui/glspectrum.h
|
|
|
|
gui/glspectrumgui.h
|
|
|
|
gui/indicator.h
|
2017-11-11 18:26:23 +00:00
|
|
|
gui/levelmeter.h
|
2018-11-05 16:27:32 +00:00
|
|
|
gui/loggingdialog.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/mypositiondialog.h
|
|
|
|
gui/physicalunit.h
|
|
|
|
gui/pluginsdialog.h
|
|
|
|
gui/presetitem.h
|
|
|
|
gui/rollupwidget.h
|
|
|
|
gui/samplingdevicecontrol.h
|
2017-11-02 02:30:54 +00:00
|
|
|
gui/samplingdevicedialog.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/scaleengine.h
|
2019-05-14 17:23:13 +00:00
|
|
|
gui/sdrangelsplash.h
|
2017-11-21 00:09:47 +00:00
|
|
|
gui/tickedslider.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/transverterbutton.h
|
2018-03-11 15:39:02 +00:00
|
|
|
gui/transverterdialog.h
|
2018-11-05 16:27:32 +00:00
|
|
|
gui/tvscreen.h
|
2017-10-22 17:12:43 +00:00
|
|
|
gui/valuedial.h
|
|
|
|
gui/valuedialz.h
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2018-08-12 15:22:39 +00:00
|
|
|
dsp/scopevis.h
|
2018-11-05 16:27:32 +00:00
|
|
|
dsp/scopevisxy.h
|
2017-10-22 17:12:43 +00:00
|
|
|
dsp/spectrumvis.h
|
2018-08-12 15:13:06 +00:00
|
|
|
dsp/spectrumscopecombovis.h
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2017-10-24 16:29:18 +00:00
|
|
|
device/deviceuiset.h
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2018-11-02 23:07:43 +00:00
|
|
|
soapygui/discreterangegui.h
|
|
|
|
soapygui/intervalrangegui.h
|
|
|
|
soapygui/itemsettinggui.h
|
2018-11-04 22:54:16 +00:00
|
|
|
soapygui/stringrangegui.h
|
2018-11-05 16:27:32 +00:00
|
|
|
soapygui/dynamicitemsettinggui.h
|
2018-11-11 01:30:10 +00:00
|
|
|
soapygui/dynamicargsettinggui.h
|
2018-11-07 00:33:17 +00:00
|
|
|
soapygui/intervalslidergui.h
|
2018-11-08 13:35:02 +00:00
|
|
|
soapygui/complexfactorgui.h
|
2018-11-10 18:52:27 +00:00
|
|
|
soapygui/arginfogui.h
|
2018-11-05 16:27:32 +00:00
|
|
|
|
2017-11-18 18:34:47 +00:00
|
|
|
webapi/webapiadaptergui.h
|
2017-10-22 17:12:43 +00:00
|
|
|
)
|
|
|
|
|
2019-05-09 10:02:19 +00:00
|
|
|
set(sdrgui_FORMS
|
|
|
|
mainwindow.ui
|
|
|
|
gui/aboutdialog.ui
|
|
|
|
gui/addpresetdialog.ui
|
2019-07-19 16:38:03 +00:00
|
|
|
gui/ambedevicesdialog.ui
|
2019-05-09 10:02:19 +00:00
|
|
|
gui/basicchannelsettingsdialog.ui
|
|
|
|
gui/basicdevicesettingsdialog.ui
|
|
|
|
gui/commandoutputdialog.ui
|
|
|
|
gui/cwkeyergui.ui
|
2019-05-31 10:45:29 +00:00
|
|
|
gui/devicestreamselectiondialog.ui
|
2019-06-12 16:50:53 +00:00
|
|
|
gui/deviceuserargsdialog.ui
|
2019-05-09 10:02:19 +00:00
|
|
|
gui/editcommanddialog.ui
|
|
|
|
gui/externalclockdialog.ui
|
|
|
|
gui/glscopegui.ui
|
|
|
|
gui/glspectrumgui.ui
|
|
|
|
gui/pluginsdialog.ui
|
|
|
|
gui/audiodialog.ui
|
|
|
|
gui/audioselectdialog.ui
|
|
|
|
gui/samplingdevicecontrol.ui
|
|
|
|
gui/samplingdevicedialog.ui
|
|
|
|
gui/myposdialog.ui
|
|
|
|
gui/transverterdialog.ui
|
|
|
|
gui/loggingdialog.ui
|
|
|
|
soapygui/discreterangegui.ui
|
|
|
|
soapygui/intervalrangegui.ui
|
|
|
|
soapygui/intervalslidergui.ui
|
|
|
|
soapygui/complexfactorgui.ui
|
|
|
|
soapygui/arginfogui.ui
|
|
|
|
)
|
|
|
|
|
|
|
|
qt5_wrap_ui(sdrgui_FORMS_HEADERS ${sdrgui_FORMS})
|
|
|
|
|
2017-10-22 17:12:43 +00:00
|
|
|
include_directories(
|
2019-05-09 10:02:19 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
|
|
|
${CMAKE_SOURCE_DIR}/logging
|
|
|
|
${CMAKE_SOURCE_DIR}/httpserver
|
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
|
|
|
${OPENGL_INCLUDE_DIR}
|
|
|
|
${Boost_INCLUDE_DIRS}
|
|
|
|
)
|
2017-10-22 17:12:43 +00:00
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
add_library(sdrgui SHARED
|
2019-05-09 10:02:19 +00:00
|
|
|
${sdrgui_SOURCES}
|
|
|
|
${sdrgui_FORMS_HEADERS}
|
|
|
|
)
|
2019-05-01 09:54:58 +00:00
|
|
|
|
2017-10-22 17:12:43 +00:00
|
|
|
target_link_libraries(sdrgui
|
2019-05-09 10:02:19 +00:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Widgets
|
|
|
|
Qt5::OpenGL
|
|
|
|
Qt5::Multimedia
|
|
|
|
${OPENGL_LIBRARIES}
|
|
|
|
sdrbase
|
|
|
|
logging
|
|
|
|
)
|
2017-10-22 17:12:43 +00:00
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
install(TARGETS sdrgui DESTINATION ${INSTALL_LIB_DIR})
|