Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
Java2Cpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Glaser
Java2Cpp
Commits
9525fa23
Commit
9525fa23
authored
3 years ago
by
tobiglaser
Browse files
Options
Downloads
Patches
Plain Diff
enable Doxygen in cmake
parent
bdee89ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+14
-1
14 additions, 1 deletion
CMakeLists.txt
with
14 additions
and
1 deletion
CMakeLists.txt
+
14
−
1
View file @
9525fa23
...
...
@@ -13,4 +13,17 @@ src/testCommandList.cpp
)
# Add include directory
target_include_directories
(
"Info3_Praktikum-test"
PUBLIC include/
)
\ No newline at end of file
target_include_directories
(
"Info3_Praktikum-test"
PUBLIC include/
)
# Doxygen documentation
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
add_custom_target
(
doc_doxygen ALL
COMMAND
${
DOXYGEN_EXECUTABLE
}
Doxyfile
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/..
COMMENT
"Generating API documentation with Doxygen"
VERBATIM
)
else
(
DOXYGEN_FOUND
)
message
(
"Doxygen need to be installed to generate the doxygen documentation"
)
endif
(
DOXYGEN_FOUND
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment