Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: CMakeLists.txt

Issue 6334025: ibus-chewing -- respect an NLS setting. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/ibus-chewing.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 cmake_minimum_required(VERSION 2.4) 1 cmake_minimum_required(VERSION 2.4)
2 #################################################################### 2 ####################################################################
3 # Init Definition 3 # Init Definition
4 #################################################################### 4 ####################################################################
5 INCLUDE(init.CMakeLists.txt) 5 INCLUDE(init.CMakeLists.txt)
6 6
7 #################################################################### 7 ####################################################################
8 # Project basic information 8 # Project basic information
9 #################################################################### 9 ####################################################################
10 PROJECT(ibus-chewing) 10 PROJECT(ibus-chewing)
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 ADD_CUSTOM_TARGET(tag 52 ADD_CUSTOM_TARGET(tag
53 COMMAND git tag -a "${PRJ_VER}" -m "Ver ${PRJ_VER}" HEAD 53 COMMAND git tag -a "${PRJ_VER}" -m "Ver ${PRJ_VER}" HEAD
54 COMMENT "Commit and tag the changes" 54 COMMENT "Commit and tag the changes"
55 VERBATIM 55 VERBATIM
56 ) 56 )
57 57
58 58
59 #################################################################### 59 ####################################################################
60 # Includes 60 # Includes
61 #################################################################### 61 ####################################################################
62 INCLUDE(Gettext) 62 IF(NOT DEFINED ENABLE_NLS OR ENABLE_NLS STREQUAL ON)
63 INCLUDE(Gettext)
64 ENDIF()
63 65
64 #================================================================== 66 #==================================================================
65 # Include common.CMakeLists.txt 67 # Include common.CMakeLists.txt
66 # 68 #
67 INCLUDE(common.CMakeLists.txt) 69 INCLUDE(common.CMakeLists.txt)
68 70
69 #################################################################### 71 ####################################################################
70 # Post Include setting 72 # Post Include setting
71 #################################################################### 73 ####################################################################
72 74
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 SET(CPACK_SOURCE_IGNORE_FILES ${CPACK_SOURCE_IGNORE_FILES} ${PRJ_COMMON_IGNORE_F ILES} "/bin/" 165 SET(CPACK_SOURCE_IGNORE_FILES ${CPACK_SOURCE_IGNORE_FILES} ${PRJ_COMMON_IGNORE_F ILES} "/bin/"
164 "\\\\.xml$" "\\\\.schemas") 166 "\\\\.xml$" "\\\\.schemas")
165 SET(CPACK_PACKAGE_IGNORE_FILES ${CPACK_BINARY_IGNORE_FILES} ${PRJ_COMMON_IGNORE_ FILES} "/src/" 167 SET(CPACK_PACKAGE_IGNORE_FILES ${CPACK_BINARY_IGNORE_FILES} ${PRJ_COMMON_IGNORE_ FILES} "/src/"
166 "\\\\.spec$" "\\\\.in$" "\\\\.pot$") 168 "\\\\.spec$" "\\\\.in$" "\\\\.pot$")
167 169
168 INCLUDE(CPack) 170 INCLUDE(CPack)
169 171
170 # Avoid [Bug 519108]: [gob2] class and enum names convert incorrectly in mock / koji. 172 # Avoid [Bug 519108]: [gob2] class and enum names convert incorrectly in mock / koji.
171 ADD_DEPENDENCIES(pack_src pot_file gob2) 173 ADD_DEPENDENCIES(pack_src pot_file gob2)
172 174
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698