aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
Diffstat (limited to 'libdino')
-rw-r--r--libdino/CMakeLists.txt12
-rw-r--r--libdino/data/dino.gschema.xml (renamed from libdino/data/settings.gschema.xml)0
2 files changed, 12 insertions, 0 deletions
diff --git a/libdino/CMakeLists.txt b/libdino/CMakeLists.txt
index 08bf88d6..a2b47381 100644
--- a/libdino/CMakeLists.txt
+++ b/libdino/CMakeLists.txt
@@ -72,3 +72,15 @@ add_custom_target(dino-vapi
DEPENDS
${CMAKE_BINARY_DIR}/exports/dino.vapi
)
+
+add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/gschemas.compiled
+COMMAND
+ glib-compile-schemas --targetdir=${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/data
+DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/data/dino.gschema.xml
+)
+
+add_custom_target(dino-gsettings-schema-compiled
+DEPENDS
+ ${CMAKE_BINARY_DIR}/gschemas.compiled
+) \ No newline at end of file
diff --git a/libdino/data/settings.gschema.xml b/libdino/data/dino.gschema.xml
index f3d342cf..f3d342cf 100644
--- a/libdino/data/settings.gschema.xml
+++ b/libdino/data/dino.gschema.xml