forked from vinipsmaker/tufao
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
932a5cd
commit 9aad478
Showing
6 changed files
with
1,861 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
build | ||
doc/* | ||
*.pro.user | ||
CMakeLists.txt.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
find_package(Doxygen REQUIRED) | ||
|
||
# Configure info | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in | ||
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile | ||
@ONLY | ||
) | ||
|
||
# Build info | ||
add_custom_target(doc ALL | ||
"${DOXYGEN_EXECUTABLE}" "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" | ||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" | ||
COMMENT "Generating API documentation with Doxygen" | ||
) | ||
add_custom_target(pdfdoc ALL | ||
make | ||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/latex" | ||
COMMENT "Running make to generate PDF output" | ||
DEPENDS doc | ||
) | ||
|
||
# Install info | ||
# html an qch | ||
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html" "${CMAKE_CURRENT_BINARY_DIR}/qch" | ||
DESTINATION "share/doc/tufao" | ||
COMPONENT doc | ||
PATTERN index.qhp EXCLUDE | ||
) | ||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/latex/refman.pdf" | ||
DESTINATION "share/doc/tufao/pdf" | ||
COMPONENT doc | ||
) |
Oops, something went wrong.