|
@@ -220,7 +220,7 @@ endif()
|
220
|
220
|
|
221
|
221
|
set(LEMMA_VERSION_MAJOR "0")
|
222
|
222
|
set(LEMMA_VERSION_MINOR "1")
|
223
|
|
-set(LEMMA_VERSION_PATCH "1")
|
|
223
|
+set(LEMMA_VERSION_PATCH "2")
|
224
|
224
|
set(LEMMA_VERSION "\"${LEMMA_VERSION_MAJOR}.${LEMMA_VERSION_MINOR}.${LEMMA_VERSION_PATCH}\"")
|
225
|
225
|
set(LEMMA_VERSION_NOQUOTES "${LEMMA_VERSION_MAJOR}.${LEMMA_VERSION_MINOR}.${LEMMA_VERSION_PATCH}")
|
226
|
226
|
|
|
@@ -249,12 +249,21 @@ endif()
|
249
|
249
|
add_subdirectory (Modules)
|
250
|
250
|
|
251
|
251
|
########################################################################
|
252
|
|
-# add a target to generate API documentation with Doxygen
|
|
252
|
+# add a target to generate API documentation with Doxyfile.in
|
253
|
253
|
# ALL make documentation build by default if possible
|
254
|
254
|
find_package(Doxygen)
|
255
|
255
|
if(DOXYGEN_FOUND)
|
256
|
256
|
option( LEMMA_BUILD_DOCUMENTATION "Build Doxygen man pages" OFF )
|
257
|
257
|
if (LEMMA_BUILD_DOCUMENTATION)
|
|
258
|
+
|
|
259
|
+# Custom header and footer option, enable in Doxygen
|
|
260
|
+# file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/Documentation/header.html
|
|
261
|
+# DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/Documentation/header.html
|
|
262
|
+# )
|
|
263
|
+# file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/Documentation/footer.html
|
|
264
|
+# DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/Documentation/footer.html
|
|
265
|
+# )
|
|
266
|
+
|
258
|
267
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Documentation/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Documentation/Doxyfile @ONLY)
|
259
|
268
|
add_custom_target(doc
|
260
|
269
|
ALL
|
|
@@ -262,6 +271,7 @@ find_package(Doxygen)
|
262
|
271
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
263
|
272
|
COMMENT "Generating API documentation with Doxygen" VERBATIM
|
264
|
273
|
)
|
|
274
|
+
|
265
|
275
|
endif (LEMMA_BUILD_DOCUMENTATION)
|
266
|
276
|
endif(DOXYGEN_FOUND)
|
267
|
277
|
|