Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Game Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Onuralp SEZER
Game Library
Commits
39423c7f
Commit
39423c7f
authored
3 years ago
by
Joseph Walton-Rivers
Browse files
Options
Downloads
Patches
Plain Diff
basic documentation generation
parent
3ce59eb0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+22
-1
22 additions, 1 deletion
CMakeLists.txt
docs/Doxyfile.in
+2656
-0
2656 additions, 0 deletions
docs/Doxyfile.in
with
2678 additions
and
1 deletion
CMakeLists.txt
+
22
−
1
View file @
39423c7f
...
@@ -9,7 +9,28 @@ set(CMAKE_CXX_STANDARD 17)
...
@@ -9,7 +9,28 @@ set(CMAKE_CXX_STANDARD 17)
set
(
CMAKE_CXX_STANDARD_REQUIRED True
)
set
(
CMAKE_CXX_STANDARD_REQUIRED True
)
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
# depdencies
# Doxygen Support
# Based on https://vicrucann.github.io/tutorials/quick-cmake-doxygen/
option
(
BUILD_DOC
"Build Documentation"
ON
)
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
# Set docs folder
set
(
DOXYGEN_IN
${
CMAKE_CURRENT_SOURCE_DIR
}
/docs/Doxyfile.in
)
set
(
DOXYGEN_OUT
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
# configure file
configure_file
(
${
DOXYGEN_IN
}
${
DOXYGEN_OUT
}
@ONLY
)
message
(
"Doxygen build started"
)
# note the option ALL which allows to build the docs together with the application
add_custom_target
(
doc_doxygen ALL
COMMAND
${
DOXYGEN_EXECUTABLE
}
${
DOXYGEN_OUT
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
COMMENT
"Generating API documentation with Doxygen"
VERBATIM
)
endif
(
DOXYGEN_FOUND
)
# depedencies
find_package
(
glfw3
)
find_package
(
glfw3
)
if
(
NOT glfw3_FOUND
)
if
(
NOT glfw3_FOUND
)
include
(
FetchContent
)
include
(
FetchContent
)
...
...
This diff is collapsed.
Click to expand it.
docs/Doxyfile.in
0 → 100644
+
2656
−
0
View file @
39423c7f
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