2015-09-17 14:04:27 -03:00
|
|
|
# the profile widget
|
2015-09-17 15:58:26 -03:00
|
|
|
include_directories(.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
)
|
|
|
|
|
2015-11-09 18:57:47 -02:00
|
|
|
set(SUBSURFACE_PREFERENCES_UI
|
2019-12-06 15:53:14 +02:00
|
|
|
preferences_cloud.ui
|
2019-12-10 15:02:13 +02:00
|
|
|
preferences_dc.ui
|
|
|
|
preferences_defaults.ui
|
|
|
|
preferences_equipment.ui
|
2018-01-01 20:23:40 +01:00
|
|
|
preferences_georeference.ui
|
2019-12-10 15:02:13 +02:00
|
|
|
preferences_graph.ui
|
2018-01-01 20:23:40 +01:00
|
|
|
preferences_language.ui
|
2019-12-09 20:58:20 +02:00
|
|
|
preferences_log.ui
|
2019-12-10 15:02:13 +02:00
|
|
|
preferences_media.ui
|
|
|
|
preferences_network.ui
|
|
|
|
preferences_reset.ui
|
|
|
|
preferences_units.ui
|
2015-11-09 18:57:47 -02:00
|
|
|
)
|
|
|
|
|
2022-02-09 15:02:30 -08:00
|
|
|
if(NOT USINGQT6)
|
|
|
|
qt5_wrap_ui(SUBSURFACE_PREFERENCES_UI_HDRS ${SUBSURFACE_PREFERENCES_UI})
|
|
|
|
else()
|
|
|
|
qt_wrap_ui(SUBSURFACE_PREFERENCES_UI_HDRS ${SUBSURFACE_PREFERENCES_UI})
|
|
|
|
endif()
|
2015-09-17 15:58:26 -03:00
|
|
|
|
|
|
|
source_group("Subsurface Interface Files" FILES ${SUBSURFACE_PREFERENCES_UI})
|
|
|
|
|
2015-09-17 14:04:27 -03:00
|
|
|
set(SUBSURFACE_PREFERENCES_LIB_SRCS
|
|
|
|
abstractpreferenceswidget.cpp
|
2019-03-25 22:47:44 +01:00
|
|
|
abstractpreferenceswidget.h
|
2019-12-08 15:44:14 +02:00
|
|
|
preferences_cloud.cpp
|
|
|
|
preferences_cloud.h
|
|
|
|
preferences_dc.cpp
|
|
|
|
preferences_dc.h
|
2015-09-25 16:15:37 -03:00
|
|
|
preferences_defaults.cpp
|
2019-03-25 22:47:44 +01:00
|
|
|
preferences_defaults.h
|
2019-12-07 20:27:25 +02:00
|
|
|
preferences_equipment.cpp
|
|
|
|
preferences_equipment.h
|
2019-03-25 22:47:44 +01:00
|
|
|
preferences_georeference.cpp
|
|
|
|
preferences_georeference.h
|
2015-10-01 18:59:53 -03:00
|
|
|
preferences_graph.cpp
|
2019-03-25 22:47:44 +01:00
|
|
|
preferences_graph.h
|
|
|
|
preferences_language.cpp
|
|
|
|
preferences_language.h
|
2019-12-09 20:58:20 +02:00
|
|
|
preferences_log.cpp
|
|
|
|
preferences_log.h
|
2019-12-08 11:30:16 +02:00
|
|
|
preferences_media.cpp
|
|
|
|
preferences_media.h
|
2015-10-01 19:48:57 -03:00
|
|
|
preferences_network.cpp
|
2019-03-25 22:47:44 +01:00
|
|
|
preferences_network.h
|
2019-12-10 15:02:13 +02:00
|
|
|
preferences_reset.cpp
|
|
|
|
preferences_reset.h
|
2019-03-25 22:47:44 +01:00
|
|
|
preferences_units.cpp
|
|
|
|
preferences_units.h
|
|
|
|
preferencesdialog.cpp
|
|
|
|
preferencesdialog.h
|
2015-09-17 14:04:27 -03:00
|
|
|
)
|
|
|
|
|
|
|
|
source_group("Subsurface Preferences" FILES ${SUBSURFACE_PREFERENCES_LIB_SRCS})
|
|
|
|
|
2015-09-17 15:58:26 -03:00
|
|
|
add_library(subsurface_desktop_preferences STATIC ${SUBSURFACE_PREFERENCES_LIB_SRCS} ${SUBSURFACE_PREFERENCES_UI_HDRS})
|
|
|
|
target_link_libraries(subsurface_desktop_preferences ${QT_LIBRARIES})
|
|
|
|
|