lemon-project-template-glpk
comparison doc/CMakeLists.txt @ 7:c941f748eaa8
Move sources to src/
author | Alpar Juttner <alpar@cs.elte.hu> |
---|---|
date | Tue, 22 Mar 2011 20:09:43 +0100 |
parents | |
children | dda9b6665fde |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9810363d2b92 |
---|---|
1 SET(PACKAGE_NAME ${PROJECT_NAME}) | |
2 SET(PACKAGE_VERSION ${PROJECT_VERSION}) | |
3 SET(abs_top_srcdir ${PROJECT_SOURCE_DIR}) | |
4 SET(abs_top_builddir ${PROJECT_BINARY_DIR}) | |
5 | |
6 CONFIGURE_FILE( | |
7 ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in | |
8 ${PROJECT_BINARY_DIR}/doc/Doxyfile | |
9 @ONLY) | |
10 | |
11 IF(DOXYGEN_EXECUTABLE) | |
12 FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/) | |
13 IF(UNIX) | |
14 ADD_CUSTOM_TARGET(html | |
15 COMMAND rm -rf html | |
16 COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile | |
17 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) | |
18 ELSEIF(WIN32) | |
19 ADD_CUSTOM_TARGET(html | |
20 COMMAND if exist html rmdir /s /q html | |
21 COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile | |
22 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) | |
23 ENDIF(UNIX) | |
24 INSTALL( | |
25 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ | |
26 DESTINATION share/doc | |
27 COMPONENT html_documentation) | |
28 ENDIF(DOXYGEN_EXECUTABLE) |