~ps-jenkins/compiz/latestsnapshot-10.9.9daily13.06.1913.04-0ubuntu1

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Tarmac
  • Author(s): smspillaz, Sam Spilsbury, Daniel van Vugt
  • Date: 2012-07-11 08:00:58 UTC
  • mfrom: (3262.3.80 gsettings)
  • Revision ID: tarmac-20120711080058-i4iax4g092e84s30
Add gsettings test cases and schema/path cleanups.. Fixes: . Approved by Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
include (CompizCommon)
16
16
# Packaging-specific CMake macros & functions.
17
17
include (CompizPackage)
 
18
 
 
19
# GSettings schema recompilation
 
20
include (CompizGSettings)
 
21
 
18
22
include (cmake/base.cmake)
19
23
# Check if specific function is present in library.
20
24
include (CheckFunctionExists)
70
74
set (compiz_metadatadir ${datadir}/compiz)
71
75
set (COMPIZ_I18N_DIR ${CMAKE_SOURCE_DIR}/po)
72
76
 
 
77
# Don't allow subdirectories to add schema recompile rule
 
78
set_property (GLOBAL
 
79
              PROPERTY COMPIZ_INHIBIT_ADD_INSTALL_RECOMPILE_RULE
 
80
              TRUE)
 
81
 
73
82
# Translation
74
83
set (ALL_LINGUAS af ar bg bn bn_IN bs ca cs cy da de el en_GB en_US es eu et fi fr gl gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl or pa pl pt pt_BR ro ru sk sl sr sv ta tr uk vi xh zh_CN zh_TW zu)
75
84
set (GETTEXT_PACKAGE compiz)
184
193
add_subdirectory (plugins)
185
194
add_subdirectory (tests)
186
195
 
 
196
# Leave last - the cmake_install.cmake script is guarunteed
 
197
# to run in a single job, and we need to force GSettings
 
198
# schema recompilation to happen after all other install
 
199
# targets (there is no way to set install target dependencies)
 
200
# in CMake
 
201
add_subdirectory (postinst)
 
202
 
187
203
compiz_ensure_linkage ()
188
204
compiz_package_generation ("Compiz")
189
205
compiz_add_uninstall ()