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
|
|
|
|
preferences_defaults.ui
|
|
|
|
preferences_graph.ui
|
|
|
|
preferences_network.ui
|
|
|
|
preferences_units.ui
|
2018-01-01 19:23:40 +00:00
|
|
|
preferences_georeference.ui
|
|
|
|
preferences_language.ui
|
2015-11-09 20:57:47 +00:00
|
|
|
)
|
|
|
|
|
2015-09-17 18:58:26 +00:00
|
|
|
qt5_wrap_ui(SUBSURFACE_PREFERENCES_UI_HDRS ${SUBSURFACE_PREFERENCES_UI})
|
|
|
|
|
|
|
|
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
|
2015-09-25 19:15:37 +00:00
|
|
|
preferences_defaults.cpp
|
2019-03-25 21:47:44 +00:00
|
|
|
preferences_defaults.h
|
|
|
|
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
|
2015-10-01 22:48:57 +00:00
|
|
|
preferences_network.cpp
|
2019-03-25 21:47:44 +00:00
|
|
|
preferences_network.h
|
|
|
|
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})
|
|
|
|
|