CMakeLists.txt
52 lines
| 1.7 KiB
| text/plain
|
TextLexer
/ gui / CMakeLists.txt
r1331 | FILE (GLOB_RECURSE gui_SRCS | |||
include/*.h | ||||
src/*.cpp | ||||
resources/*.qrc | ||||
) | ||||
QT5_WRAP_UI( | ||||
UiGenerated_SRCS | ||||
ui/DataSource/DataSourceWidget.ui | ||||
ui/Settings/SqpSettingsDialog.ui | ||||
ui/Settings/SqpSettingsGeneralWidget.ui | ||||
ui/SidePane/SqpSidePane.ui | ||||
ui/TimeWidget/TimeWidget.ui | ||||
ui/Variable/RenameVariableDialog.ui | ||||
ui/Variable/VariableInspectorWidget.ui | ||||
ui/Variable/VariableMenuHeaderWidget.ui | ||||
ui/Visualization/ColorScaleEditor.ui | ||||
ui/Visualization/VisualizationGraphWidget.ui | ||||
ui/Visualization/VisualizationTabWidget.ui | ||||
ui/Visualization/VisualizationWidget.ui | ||||
ui/Visualization/VisualizationZoneWidget.ui | ||||
ui/Visualization/VisualizationMultiZoneSelectionDialog.ui | ||||
ui/Catalogue/CatalogueEventsWidget.ui | ||||
ui/Catalogue/CatalogueExplorer.ui | ||||
ui/Catalogue/CatalogueInspectorWidget.ui | ||||
ui/Catalogue/CatalogueSideBarWidget.ui | ||||
r21 | ) | |||
r1331 | add_library(sciqlopgui ${gui_SRCS} ${UiGenerated_SRCS}) | |||
SET_TARGET_PROPERTIES(sciqlopgui PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE) | ||||
r21 | ||||
r1331 | target_include_directories(sciqlopgui PUBLIC | |||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||||
r1354 | $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/Visualization> | |||
r1331 | $<INSTALL_INTERFACE:include/SciQLOP> | |||
) | ||||
r21 | ||||
r1331 | target_link_libraries(sciqlopgui PUBLIC | |||
Qt5::Widgets | ||||
Qt5::PrintSupport | ||||
Qt5::Svg | ||||
sciqlopcore | ||||
r1129 | ) | |||
r1331 | install(TARGETS sciqlopgui EXPORT SciQLOPGuiConfig | |||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||||
r21 | ||||
r1331 | install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/SciQLOP) | |||
install(EXPORT SciQLOPGuiConfig DESTINATION share/SciQLOPGui/cmake) | ||||
export(TARGETS sciqlopgui FILE SciQLOPGuiConfig.cmake) | ||||