~smspillaz/compiz-plugins-main/compiz-plugins-main.fix_939228

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Sam Spilsbury
  • Date: 2011-07-12 19:43:43 UTC
  • Revision ID: sam.spilsbury@canonical.com-20110712194343-ore8vgn2ujdh0au2
Add required files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project (compiz-plugins-main)
 
2
 
 
3
cmake_minimum_required (VERSION 2.4)
 
4
 
 
5
find_package (Compiz REQUIRED)
 
6
 
 
7
include (CompizCommon)
 
8
include (CompizPackage)
 
9
 
 
10
file (READ ${CMAKE_SOURCE_DIR}/VERSION COMPIZ_RELEASE_VERSION LIMIT 12 OFFSET 0)
 
11
string (STRIP ${COMPIZ_RELEASE_VERSION} COMPIZ_RELEASE_VERSION)
 
12
 
 
13
set (VERSION ${COMPIZ_RELEASE_VERSION})
 
14
 
 
15
set (COMPIZ_PLUGIN_INSTALL_TYPE "package")
 
16
 
 
17
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)
 
18
set (GETTEXT_PACKAGE compiz-plugins-main)
 
19
 
 
20
compiz_add_plugins_in_folder ("${CMAKE_SOURCE_DIR}")
 
21
 
 
22
compiz_print_configure_header ("Compiz Plugins Main")
 
23
compiz_print_plugin_stats ("${CMAKE_SOURCE_DIR}")
 
24
compiz_print_configure_footer ()
 
25
 
 
26
compiz_package_generation ("Compiz Plugins Main")
 
27
compiz_add_git_dist ()
 
28
compiz_add_distcheck ()
 
29
compiz_add_release ()
 
30
compiz_add_release_signoff ()