~greg-hellings/bibletime/debian

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Jonathan Marsden
  • Date: 2011-12-23 20:32:12 UTC
  • Revision ID: jmarsden@fastmail.fm-20111223203212-1g3e35rlhbys07iu
New upstream version 2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2)
3
3
SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
4
4
 
 
5
 
 
6
################################################################################
5
7
# BibleTime version
 
8
################################################################################
 
9
# NOTICE! The version number must only be changed during the release procedures
 
10
#  A N D   N O T  during development or bug-fixing. This guarantees that all
 
11
# versions of BibleTime between OLDVERSION and NEXTVERSION have version strings
 
12
# in the form of OLDVERSION+githash where githash is the git commit hash ID.
 
13
#
 
14
# Note: for pre-#.#.0 versions, use the following suffixes:
 
15
#   _dev      if pre-beta1
 
16
#   _beta1    if post-beta1
 
17
#   _beta2    if post-beta2
 
18
#   _rc1    if post-rc1
 
19
#   _rc2    if post-rc2
 
20
# For post-full-release versions, no suffix is used.
 
21
 
6
22
SET(BT_VERSION_MAJOR "2")
7
 
SET(BT_VERSION_MINOR "8")
8
 
SET(BT_VERSION_PATCH "4")
 
23
SET(BT_VERSION_MINOR "9")
 
24
SET(BT_VERSION_PATCH "1")
9
25
#SET(BT_VERSION_BUILD "") # Temporarily uncomment this line for release procedures
10
26
 
 
27
 
11
28
# Determine build, if needed:
12
29
IF (NOT (DEFINED BT_VERSION_BUILD))
13
30
    SET(Git_FIND_QUIETLY TRUE)
34
51
ENDIF (NOT CMAKE_BUILD_TYPE STREQUAL "Release")
35
52
 
36
53
#Non-English locales to be processed and installed for UI, handbook and howto
37
 
LIST(APPEND MESSAGE_LOCALE_LANGS ar cs da de en_GB es et fi fr hu it nl nn_NO pl pt_BR ro ru sk zh_TW)
 
54
LIST(APPEND MESSAGE_LOCALE_LANGS ar cs da de en_GB es et fi fr hu it nl nn_NO pl pt pt_BR ro ru sk zh_TW)
38
55
#WARNING: If you modify HANDBOOK_LOCALE_LANGS or HOWTO_LOCALE_LANGS,
39
56
#also modify the po4a conf files in cmake/docs/ to make sure all languages are processed.
40
 
LIST(APPEND HANDBOOK_LOCALE_LANGS cs de es fi fr hu it nl pt_BR)
 
57
LIST(APPEND HANDBOOK_LOCALE_LANGS ar cs de es fi fr hu it nl pt_BR)
41
58
LIST(APPEND HOWTO_LOCALE_LANGS ar bg cs da de es fi fr it hu ko nl pt_BR ru)
42
59
 
43
60
# Find required packages
203
220
INSTALL(FILES ${INSTALL_DISPLAY_TEMPLATES_LIST}
204
221
    DESTINATION "${BT_SHARE_PATH}bibletime/display-templates/"
205
222
)
 
223
FILE(GLOB INSTALL_DISPLAY_CSS_LIST ${CMAKE_CURRENT_SOURCE_DIR}/src/display-templates/*.css)
 
224
INSTALL(FILES ${INSTALL_DISPLAY_CSS_LIST}
 
225
    DESTINATION "${BT_SHARE_PATH}bibletime/display-templates/"
 
226
)
206
227
# javascript
207
228
INSTALL(FILES "src/frontend/display/bthtml.js"
208
229
    DESTINATION "${BT_SHARE_PATH}bibletime/javascript/"