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