File: CMakeLists.txt

package info (click to toggle)
cmake-extras 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 776 kB
  • sloc: sh: 281; cpp: 189; python: 121; xml: 24; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cmake_minimum_required(VERSION 3.1)
project(intltool-demo)

enable_testing()

include(GNUInstallDirs)
find_package(GSettings)

set (DEFAULT_UUID_VALUE "" CACHE STRING "Default UUID to use in schema.")
set (DEFAULT_UUID "'${DEFAULT_UUID_VALUE}'")

add_schema ("static.gschema.xml")

configure_file ("generated.gschema.xml.in" "generated.gschema.xml")
add_schema ("generated.gschema.xml")

compile_schemas(${CMAKE_CURRENT_BINARY_DIR})