2017-10-22 13:12:43 -04:00
|
|
|
project (sdrgui)
|
|
|
|
|
2019-05-09 06:02:19 -04: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 13:12:43 -04:00
|
|
|
set(sdrgui_SOURCES
|
|
|
|
mainwindow.cpp
|
|
|
|
gui/aboutdialog.cpp
|
|
|
|
gui/addpresetdialog.cpp
|
2019-07-19 12:38:03 -04:00
|
|
|
gui/ambedevicesdialog.cpp
|
2018-03-26 12:41:09 -04:00
|
|
|
gui/audiodialog.cpp
|
|
|
|
gui/audioselectdialog.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/basicchannelsettingsdialog.cpp
|
2018-12-16 19:25:54 -05:00
|
|
|
gui/basicdevicesettingsdialog.cpp
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/basicfeaturesettingsdialog.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/buttonswitch.cpp
|
2020-09-12 04:37:16 -04:00
|
|
|
gui/channeladddialog.cpp
|
|
|
|
gui/channelsdock.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/channelwindow.cpp
|
|
|
|
gui/clickablelabel.cpp
|
|
|
|
gui/colormapper.cpp
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/commanditem.cpp
|
2018-01-04 14:15:33 -05:00
|
|
|
gui/commandoutputdialog.cpp
|
2018-03-26 12:41:09 -04:00
|
|
|
gui/crightclickenabler.cpp
|
2020-11-09 12:56:06 -05:00
|
|
|
gui/customtextedit.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/cwkeyergui.cpp
|
2022-03-01 12:17:56 -05:00
|
|
|
gui/datetimedelegate.cpp
|
|
|
|
gui/decimaldelegate.cpp
|
2019-05-20 19:52:13 -04:00
|
|
|
gui/devicestreamselectiondialog.cpp
|
2019-06-12 12:50:53 -04:00
|
|
|
gui/deviceuserargsdialog.cpp
|
2021-05-24 07:39:22 -04:00
|
|
|
gui/dmsspinbox.cpp
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/editcommanddialog.cpp
|
2017-11-05 00:50:01 -04:00
|
|
|
gui/externalclockbutton.cpp
|
|
|
|
gui/externalclockdialog.cpp
|
2020-09-18 11:36:27 -04:00
|
|
|
gui/fmpreemphasisdialog.cpp
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/featureadddialog.cpp
|
2022-03-18 13:07:52 -04:00
|
|
|
gui/featurelayout.cpp
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/featuresdock.cpp
|
2020-09-23 23:38:05 -04:00
|
|
|
gui/featurepresetsdialog.cpp
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/featurewindow.cpp
|
2021-11-01 20:04:43 -04:00
|
|
|
gui/fftwisdomdialog.cpp
|
2018-08-12 11:07:43 -04:00
|
|
|
gui/glscope.cpp
|
2018-08-12 10:56:52 -04:00
|
|
|
gui/glscopegui.cpp
|
2019-10-14 19:24:36 -04:00
|
|
|
gui/glshadercolors.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/glshadersimple.cpp
|
|
|
|
gui/glshadertextured.cpp
|
2018-03-11 08:00:33 -04:00
|
|
|
gui/glshadertvarray.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/glspectrum.cpp
|
|
|
|
gui/glspectrumgui.cpp
|
2021-06-25 08:00:59 -04:00
|
|
|
gui/graphicsviewzoom.cpp
|
2021-01-29 07:57:58 -05:00
|
|
|
gui/httpdownloadmanagergui.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/indicator.cpp
|
|
|
|
gui/levelmeter.cpp
|
2017-11-11 13:26:23 -05:00
|
|
|
gui/loggingdialog.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/mypositiondialog.cpp
|
|
|
|
gui/pluginsdialog.cpp
|
|
|
|
gui/presetitem.cpp
|
|
|
|
gui/rollupwidget.cpp
|
2017-11-01 22:30:54 -04:00
|
|
|
gui/samplingdevicedialog.cpp
|
2020-09-13 11:50:24 -04:00
|
|
|
gui/samplingdevicesdock.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/scaleengine.cpp
|
2021-02-26 15:25:48 -05:00
|
|
|
gui/scaledimage.cpp
|
2019-05-14 13:23:13 -04:00
|
|
|
gui/sdrangelsplash.cpp
|
2022-01-30 01:43:50 -05:00
|
|
|
gui/spectrumcalibrationpointsdialog.cpp
|
2021-07-31 16:57:31 -04:00
|
|
|
gui/spectrummarkersdialog.cpp
|
2017-11-20 19:09:47 -05:00
|
|
|
gui/tickedslider.cpp
|
2022-03-01 12:17:56 -05:00
|
|
|
gui/timedelegate.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/transverterbutton.cpp
|
|
|
|
gui/transverterdialog.cpp
|
2018-03-11 11:39:02 -04:00
|
|
|
gui/tvscreen.cpp
|
2020-08-03 12:31:47 -04:00
|
|
|
gui/tvscreenanalog.cpp
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/valuedial.cpp
|
|
|
|
gui/valuedialz.cpp
|
2020-05-01 05:06:56 -04:00
|
|
|
gui/wsspectrumsettingsdialog.cpp
|
2021-02-26 15:25:48 -05:00
|
|
|
gui/wrappingdatetimeedit.cpp
|
2018-11-05 11:27:32 -05:00
|
|
|
|
2018-03-12 00:07:51 -04:00
|
|
|
dsp/scopevisxy.cpp
|
2018-11-05 11:27:32 -05:00
|
|
|
|
2017-10-24 12:29:18 -04:00
|
|
|
device/deviceuiset.cpp
|
2018-11-05 11:27:32 -05:00
|
|
|
|
2020-10-04 00:16:15 -04:00
|
|
|
channel/channelgui.cpp
|
|
|
|
|
2020-10-03 17:55:24 -04:00
|
|
|
feature/featuregui.cpp
|
2020-09-19 19:06:34 -04:00
|
|
|
feature/featureuiset.cpp
|
|
|
|
|
2018-11-02 19:07:43 -04:00
|
|
|
soapygui/discreterangegui.cpp
|
|
|
|
soapygui/intervalrangegui.cpp
|
|
|
|
soapygui/itemsettinggui.cpp
|
2018-11-04 17:54:16 -05:00
|
|
|
soapygui/stringrangegui.cpp
|
2018-11-05 11:27:32 -05:00
|
|
|
soapygui/dynamicitemsettinggui.cpp
|
2018-11-10 20:30:10 -05:00
|
|
|
soapygui/dynamicargsettinggui.cpp
|
2018-11-06 19:33:17 -05:00
|
|
|
soapygui/intervalslidergui.cpp
|
2018-11-08 08:35:02 -05:00
|
|
|
soapygui/complexfactorgui.cpp
|
2018-11-10 13:52:27 -05:00
|
|
|
soapygui/arginfogui.cpp
|
2018-11-05 11:27:32 -05:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
resources/res.qrc
|
2017-10-22 13:12:43 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrgui_HEADERS
|
|
|
|
mainwindow.h
|
|
|
|
gui/aboutdialog.h
|
|
|
|
gui/addpresetdialog.h
|
2019-07-19 12:38:03 -04:00
|
|
|
gui/ambedevicesdialog.h
|
2018-03-26 12:41:09 -04:00
|
|
|
gui/audiodialog.h
|
|
|
|
gui/audioselectdialog.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/basicchannelsettingsdialog.h
|
2018-12-16 19:25:54 -05:00
|
|
|
gui/basicdevicesettingsdialog.h
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/basicfeaturesettingsdialog.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/buttonswitch.h
|
2020-09-12 04:37:16 -04:00
|
|
|
gui/channeladddialog.h
|
|
|
|
gui/channelsdock.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/channelwindow.h
|
|
|
|
gui/colormapper.h
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/commanditem.h
|
2018-01-04 14:15:33 -05:00
|
|
|
gui/commandoutputdialog.h
|
2018-03-26 12:41:09 -04:00
|
|
|
gui/crightclickenabler.h
|
2020-11-09 12:56:06 -05:00
|
|
|
gui/customtextedit.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/cwkeyergui.h
|
2022-03-01 12:17:56 -05:00
|
|
|
gui/datetimedelegate.h
|
|
|
|
gui/decimaldelegate.h
|
2019-05-20 19:52:13 -04:00
|
|
|
gui/devicestreamselectiondialog.h
|
2019-06-12 12:50:53 -04:00
|
|
|
gui/deviceuserargsdialog.h
|
2021-05-24 07:39:22 -04:00
|
|
|
gui/dmsspinbox.h
|
2020-01-17 09:08:43 -05:00
|
|
|
gui/doublevalidator.h
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/editcommanddialog.h
|
2017-11-05 00:50:01 -04:00
|
|
|
gui/externalclockbutton.h
|
|
|
|
gui/externalclockdialog.h
|
2020-09-18 11:36:27 -04:00
|
|
|
gui/fmpreemphasisdialog.h
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/featureadddialog.h
|
2022-03-18 13:07:52 -04:00
|
|
|
gui/featurelayout.h
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/featuresdock.h
|
2020-09-23 23:38:05 -04:00
|
|
|
gui/featurepresetsdialog.h
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/featurewindow.h
|
2021-11-01 20:04:43 -04:00
|
|
|
gui/fftwisdomdialog.h
|
2018-08-12 11:06:55 -04:00
|
|
|
gui/glscope.h
|
2018-08-12 10:56:03 -04:00
|
|
|
gui/glscopegui.h
|
2019-10-14 19:24:36 -04:00
|
|
|
gui/glshadercolors.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/glshadersimple.h
|
2018-03-11 08:00:33 -04:00
|
|
|
gui/glshadertvarray.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/glshadertextured.h
|
|
|
|
gui/glspectrum.h
|
|
|
|
gui/glspectrumgui.h
|
2021-06-25 08:00:59 -04:00
|
|
|
gui/graphicsviewzoom.h
|
2021-01-29 07:57:58 -05:00
|
|
|
gui/httpdownloadmanagergui.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/indicator.h
|
2017-11-11 13:26:23 -05:00
|
|
|
gui/levelmeter.h
|
2018-11-05 11:27:32 -05:00
|
|
|
gui/loggingdialog.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/mypositiondialog.h
|
|
|
|
gui/physicalunit.h
|
|
|
|
gui/pluginsdialog.h
|
|
|
|
gui/presetitem.h
|
|
|
|
gui/rollupwidget.h
|
2017-11-01 22:30:54 -04:00
|
|
|
gui/samplingdevicedialog.h
|
2020-09-13 11:50:24 -04:00
|
|
|
gui/samplingdevicesdock.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/scaleengine.h
|
2021-02-26 15:25:48 -05:00
|
|
|
gui/scaledimage.h
|
2019-05-14 13:23:13 -04:00
|
|
|
gui/sdrangelsplash.h
|
2022-01-30 01:43:50 -05:00
|
|
|
gui/spectrumcalibrationpointsdialog.h
|
2021-07-31 16:57:31 -04:00
|
|
|
gui/spectrummarkersdialog.h
|
2017-11-20 19:09:47 -05:00
|
|
|
gui/tickedslider.h
|
2022-03-01 12:17:56 -05:00
|
|
|
gui/timedelegate.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/transverterbutton.h
|
2018-03-11 11:39:02 -04:00
|
|
|
gui/transverterdialog.h
|
2018-11-05 11:27:32 -05:00
|
|
|
gui/tvscreen.h
|
2020-08-03 12:31:47 -04:00
|
|
|
gui/tvscreenanalog.h
|
2017-10-22 13:12:43 -04:00
|
|
|
gui/valuedial.h
|
|
|
|
gui/valuedialz.h
|
2020-05-01 05:06:56 -04:00
|
|
|
gui/wsspectrumsettingsdialog.h
|
2021-02-26 15:25:48 -05:00
|
|
|
gui/wrappingdatetimeedit.h
|
2018-11-05 11:27:32 -05:00
|
|
|
|
|
|
|
dsp/scopevisxy.h
|
|
|
|
|
2017-10-24 12:29:18 -04:00
|
|
|
device/deviceuiset.h
|
2018-11-05 11:27:32 -05:00
|
|
|
|
2020-10-04 00:16:15 -04:00
|
|
|
channel/channelgui.h
|
|
|
|
|
2020-10-03 17:55:24 -04:00
|
|
|
feature/featuregui.h
|
2020-09-19 19:06:34 -04:00
|
|
|
feature/featureuiset.h
|
|
|
|
|
2020-10-05 13:23:13 -04:00
|
|
|
device/devicegui.h
|
2020-10-03 15:45:27 -04:00
|
|
|
|
2018-11-02 19:07:43 -04:00
|
|
|
soapygui/discreterangegui.h
|
|
|
|
soapygui/intervalrangegui.h
|
|
|
|
soapygui/itemsettinggui.h
|
2018-11-04 17:54:16 -05:00
|
|
|
soapygui/stringrangegui.h
|
2018-11-05 11:27:32 -05:00
|
|
|
soapygui/dynamicitemsettinggui.h
|
2018-11-10 20:30:10 -05:00
|
|
|
soapygui/dynamicargsettinggui.h
|
2018-11-06 19:33:17 -05:00
|
|
|
soapygui/intervalslidergui.h
|
2018-11-08 08:35:02 -05:00
|
|
|
soapygui/complexfactorgui.h
|
2018-11-10 13:52:27 -05:00
|
|
|
soapygui/arginfogui.h
|
2017-10-22 13:12:43 -04:00
|
|
|
)
|
|
|
|
|
2019-05-09 06:02:19 -04:00
|
|
|
set(sdrgui_FORMS
|
2020-09-19 19:06:34 -04:00
|
|
|
mainwindow.ui
|
|
|
|
gui/aboutdialog.ui
|
|
|
|
gui/addpresetdialog.ui
|
|
|
|
gui/ambedevicesdialog.ui
|
|
|
|
gui/basicchannelsettingsdialog.ui
|
|
|
|
gui/basicdevicesettingsdialog.ui
|
|
|
|
gui/basicfeaturesettingsdialog.ui
|
|
|
|
gui/channeladddialog.ui
|
|
|
|
gui/commandoutputdialog.ui
|
|
|
|
gui/cwkeyergui.ui
|
|
|
|
gui/devicestreamselectiondialog.ui
|
|
|
|
gui/deviceuserargsdialog.ui
|
|
|
|
gui/editcommanddialog.ui
|
|
|
|
gui/externalclockdialog.ui
|
|
|
|
gui/fmpreemphasisdialog.ui
|
|
|
|
gui/featureadddialog.ui
|
|
|
|
gui/featurepresetsdialog.ui
|
2021-11-01 20:04:43 -04:00
|
|
|
gui/fftwisdomdialog.ui
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/glscopegui.ui
|
|
|
|
gui/glspectrumgui.ui
|
|
|
|
gui/pluginsdialog.ui
|
|
|
|
gui/audiodialog.ui
|
|
|
|
gui/audioselectdialog.ui
|
2020-05-01 05:06:56 -04:00
|
|
|
gui/samplingdevicecontrol.ui
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/samplingdevicedialog.ui
|
2021-07-31 16:57:31 -04:00
|
|
|
gui/spectrummarkersdialog.ui
|
2022-01-30 01:43:50 -05:00
|
|
|
gui/spectrumcalibrationpointsdialog.ui
|
2020-09-19 19:06:34 -04:00
|
|
|
gui/myposdialog.ui
|
|
|
|
gui/transverterdialog.ui
|
|
|
|
gui/loggingdialog.ui
|
2020-05-01 05:06:56 -04:00
|
|
|
gui/wsspectrumsettingsdialog.ui
|
2020-09-19 19:06:34 -04:00
|
|
|
soapygui/discreterangegui.ui
|
|
|
|
soapygui/intervalrangegui.ui
|
|
|
|
soapygui/intervalslidergui.ui
|
|
|
|
soapygui/complexfactorgui.ui
|
|
|
|
soapygui/arginfogui.ui
|
|
|
|
)
|
2019-05-09 06:02:19 -04:00
|
|
|
|
2020-01-24 17:05:16 -05:00
|
|
|
if (LIMESUITE_FOUND)
|
2020-01-11 19:10:51 -05:00
|
|
|
set(sdrgui_SOURCES
|
|
|
|
${sdrgui_SOURCES}
|
|
|
|
limerfegui/limerfeusbdialog.cpp
|
|
|
|
)
|
|
|
|
set(sdrgui_HEADERS
|
|
|
|
${sdrgui_HEADERS}
|
|
|
|
limerfegui/limerfeusbdialog.h
|
|
|
|
)
|
|
|
|
set(sdrgui_FORMS
|
|
|
|
${sdrgui_FORMS}
|
|
|
|
limerfegui/limerfeusbdialog.ui
|
|
|
|
)
|
|
|
|
include_directories(${LIMESUITE_INCLUDE_DIR})
|
|
|
|
set(sdrgui_LIMERFE_LIB ${LIMESUITE_LIBRARY})
|
2020-01-24 17:05:16 -05:00
|
|
|
endif (LIMESUITE_FOUND)
|
2020-01-11 19:10:51 -05:00
|
|
|
|
2019-05-09 06:02:19 -04:00
|
|
|
qt5_wrap_ui(sdrgui_FORMS_HEADERS ${sdrgui_FORMS})
|
|
|
|
|
2017-10-22 13:12:43 -04:00
|
|
|
include_directories(
|
2019-05-09 06:02:19 -04: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}
|
2020-11-05 05:11:43 -05:00
|
|
|
${Boost_INCLUDE_DIRS}
|
|
|
|
)
|
2017-10-22 13:12:43 -04:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
add_library(sdrgui SHARED
|
2019-05-09 06:02:19 -04:00
|
|
|
${sdrgui_SOURCES}
|
|
|
|
${sdrgui_FORMS_HEADERS}
|
|
|
|
)
|
2019-05-01 05:54:58 -04:00
|
|
|
|
2017-10-22 13:12:43 -04:00
|
|
|
target_link_libraries(sdrgui
|
2019-05-09 06:02:19 -04:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Widgets
|
|
|
|
Qt5::OpenGL
|
|
|
|
Qt5::Multimedia
|
|
|
|
${OPENGL_LIBRARIES}
|
2020-01-11 19:10:51 -05:00
|
|
|
${sdrgui_LIMERFE_LIB}
|
2019-05-09 06:02:19 -04:00
|
|
|
sdrbase
|
|
|
|
logging
|
|
|
|
)
|
2017-10-22 13:12:43 -04:00
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
install(TARGETS sdrgui DESTINATION ${INSTALL_LIB_DIR})
|
2022-02-06 07:56:58 -05:00
|
|
|
|
|
|
|
# Install debug symbols
|
|
|
|
if (WIN32)
|
|
|
|
install(FILES $<TARGET_PDB_FILE:sdrgui> CONFIGURATIONS Debug RelWithDebInfo DESTINATION ${INSTALL_LIB_DIR} )
|
|
|
|
endif()
|