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
|
|
|
|
preferences_defaults.ui
|
|
|
|
preferences_graph.ui
|
|
|
|
preferences_network.ui
|
|
|
|
preferences_units.ui
|
|
|
|
prefs_georeference.ui
|
|
|
|
prefs_language.ui
|
|
|
|
)
|
|
|
|
|
2015-09-17 15:58:26 -03:00
|
|
|
qt5_wrap_ui(SUBSURFACE_PREFERENCES_UI_HDRS ${SUBSURFACE_PREFERENCES_UI})
|
|
|
|
|
|
|
|
source_group("Subsurface Interface Files" FILES ${SUBSURFACE_PREFERENCES_UI})
|
|
|
|
|
2015-09-17 14:04:27 -03:00
|
|
|
set(SUBSURFACE_PREFERENCES_LIB_SRCS
|
|
|
|
abstractpreferenceswidget.cpp
|
2015-09-17 17:16:40 -03:00
|
|
|
preferencesdialog.cpp
|
2015-09-17 15:58:26 -03:00
|
|
|
preferences_language.cpp
|
2015-09-17 19:22:19 -03:00
|
|
|
preferences_georeference.cpp
|
2015-09-25 16:15:37 -03:00
|
|
|
preferences_defaults.cpp
|
2015-09-25 17:07:04 -03:00
|
|
|
preferences_units.cpp
|
2015-10-01 18:59:53 -03:00
|
|
|
preferences_graph.cpp
|
2015-10-01 19:48:57 -03:00
|
|
|
preferences_network.cpp
|
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})
|
|
|
|
|