sdrangel/sdrgui/CMakeLists.txt

205 wiersze
4.8 KiB
CMake
Czysty Zwykły widok Historia

project (sdrgui)
# 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)
set(sdrgui_SOURCES
mainwindow.cpp
gui/aboutdialog.cpp
gui/addpresetdialog.cpp
2019-07-19 16:38:03 +00:00
gui/ambedevicesdialog.cpp
gui/audiodialog.cpp
gui/audioselectdialog.cpp
gui/basicchannelsettingsdialog.cpp
gui/basicdevicesettingsdialog.cpp
gui/buttonswitch.cpp
gui/channelwindow.cpp
gui/clickablelabel.cpp
gui/colormapper.cpp
2018-01-04 10:11:53 +00:00
gui/commanditem.cpp
gui/commandkeyreceiver.cpp
gui/commandoutputdialog.cpp
gui/comboboxnoarrow.cpp
gui/crightclickenabler.cpp
gui/cwkeyergui.cpp
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
gui/externalclockbutton.cpp
gui/externalclockdialog.cpp
2018-08-12 15:07:43 +00:00
gui/glscope.cpp
gui/glscopegui.cpp
gui/glshadersimple.cpp
gui/glshadertextured.cpp
2018-03-11 12:00:33 +00:00
gui/glshadertvarray.cpp
gui/glspectrum.cpp
gui/glspectrumgui.cpp
gui/indicator.cpp
gui/levelmeter.cpp
gui/loggingdialog.cpp
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
gui/scaleengine.cpp
2019-05-14 17:23:13 +00:00
gui/sdrangelsplash.cpp
gui/tickedslider.cpp
gui/transverterbutton.cpp
gui/transverterdialog.cpp
2018-03-11 15:39:02 +00:00
gui/tvscreen.cpp
gui/valuedial.cpp
gui/valuedialz.cpp
2018-08-12 15:23:32 +00:00
dsp/scopevis.cpp
dsp/scopevisxy.cpp
dsp/spectrumvis.cpp
dsp/spectrumscopecombovis.cpp
device/deviceuiset.cpp
soapygui/discreterangegui.cpp
soapygui/intervalrangegui.cpp
soapygui/itemsettinggui.cpp
soapygui/stringrangegui.cpp
soapygui/dynamicitemsettinggui.cpp
soapygui/dynamicargsettinggui.cpp
soapygui/intervalslidergui.cpp
soapygui/complexfactorgui.cpp
soapygui/arginfogui.cpp
webapi/webapiadaptergui.cpp
resources/res.qrc
)
set(sdrgui_HEADERS
mainwindow.h
gui/aboutdialog.h
gui/addpresetdialog.h
2019-07-19 16:38:03 +00:00
gui/ambedevicesdialog.h
gui/audiodialog.h
gui/audioselectdialog.h
gui/basicchannelsettingsdialog.h
gui/basicdevicesettingsdialog.h
gui/buttonswitch.h
gui/channelwindow.h
gui/colormapper.h
2018-01-04 10:11:53 +00:00
gui/commanditem.h
gui/commandkeyreceiver.h
gui/commandoutputdialog.h
gui/comboboxnoarrow.h
gui/crightclickenabler.h
gui/cwkeyergui.h
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
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
gui/glshadersimple.h
2018-03-11 12:00:33 +00:00
gui/glshadertvarray.h
gui/glshadertextured.h
gui/glspectrum.h
gui/glspectrumgui.h
gui/indicator.h
gui/levelmeter.h
gui/loggingdialog.h
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
gui/scaleengine.h
2019-05-14 17:23:13 +00:00
gui/sdrangelsplash.h
gui/tickedslider.h
gui/transverterbutton.h
2018-03-11 15:39:02 +00:00
gui/transverterdialog.h
gui/tvscreen.h
gui/valuedial.h
gui/valuedialz.h
2018-08-12 15:22:39 +00:00
dsp/scopevis.h
dsp/scopevisxy.h
dsp/spectrumvis.h
dsp/spectrumscopecombovis.h
device/deviceuiset.h
soapygui/discreterangegui.h
soapygui/intervalrangegui.h
soapygui/itemsettinggui.h
soapygui/stringrangegui.h
soapygui/dynamicitemsettinggui.h
soapygui/dynamicargsettinggui.h
soapygui/intervalslidergui.h
soapygui/complexfactorgui.h
soapygui/arginfogui.h
webapi/webapiadaptergui.h
)
set(sdrgui_FORMS
mainwindow.ui
gui/aboutdialog.ui
gui/addpresetdialog.ui
2019-07-19 16:38:03 +00:00
gui/ambedevicesdialog.ui
gui/basicchannelsettingsdialog.ui
gui/basicdevicesettingsdialog.ui
gui/commandoutputdialog.ui
gui/cwkeyergui.ui
gui/devicestreamselectiondialog.ui
2019-06-12 16:50:53 +00:00
gui/deviceuserargsdialog.ui
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})
include_directories(
${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}
)
add_library(sdrgui SHARED
${sdrgui_SOURCES}
${sdrgui_FORMS_HEADERS}
)
target_link_libraries(sdrgui
Qt5::Core
Qt5::Widgets
Qt5::OpenGL
Qt5::Multimedia
${OPENGL_LIBRARIES}
sdrbase
logging
)
install(TARGETS sdrgui DESTINATION ${INSTALL_LIB_DIR})