Changes between Version 2 and Version 3 of building_the_docs
- Timestamp:
- 12/28/17 11:46:50 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
building_the_docs
v2 v3 175 175 The first thing that CMake does is to check if you are in the folder called {{{build}}}. If it is not the case, CMake will return an error. 176 176 177 <pre class="{bash}">if ( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} )177 {{{if ( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} ) 178 178 message(FATAL_ERROR "In-source builds not allowed. 179 179 Please make a new directory (called a build directory) and run CMake from there. 180 180 You may need to remove CMakeCache.txt." ) 181 endif() </pre>181 endif()}}} 182 182 ==== Changing the version number ==== 183 183 184 184 In {{{CMakeLists.txt}}}, you can change the OSGeo-Live version number with the following variables: 185 185 186 <pre class="{bash}">## Major version186 {{{## Major version 187 187 set(OSGeoLiveDoc_VERSION_MAJOR "12") 188 188 … … 194 194 195 195 ## if it is a development version, a Release Candidate or a final release 196 set(OSGeoLiveDoc_VERSION_DEV "-dev") </pre>196 set(OSGeoLiveDoc_VERSION_DEV "-dev")}}} 197 197 ==== Checking the sphinx version ==== 198 198 … … 317 317 In CMakeLists.txt they are set like that: 318 318 319 <pre class="{bash}">#---------------------319 {{{#--------------------- 320 320 # Files 321 321 #--------------------- … … 350 350 "overview" 351 351 "standards" 352 ) </pre>352 )}}} 353 353 So commented out or deleted lines won't be taken in account, and won't be translated. If you comment "overview", the overviews won't be built. 354 354