Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Timo Koch
dune-common
Commits
d6340698
Commit
d6340698
authored
12 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Pipe output of doxygen into doxygen.log and install it.
[[Imported from SVN: r6634]]
parent
97bbb131
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/modules/DUNEDoxygen.cmake
+5
-3
5 additions, 3 deletions
cmake/modules/DUNEDoxygen.cmake
cmake/scripts/RunDoxygen.cmake
+3
-0
3 additions, 0 deletions
cmake/scripts/RunDoxygen.cmake
with
8 additions
and
3 deletions
cmake/modules/DUNEDoxygen.cmake
+
5
−
3
View file @
d6340698
...
...
@@ -31,8 +31,10 @@ MACRO (add_doxygen_target)
prepare_doxyfile
()
# A custom command that exectutes doxygen
add_custom_command
(
OUTPUT html COMMAND
${
DOXYGEN_EXECUTABLE
}
Doxyfile
COMMENT
"Running doxygen documentation"
DEPENDS Doxyfile
)
#${DOXYGEN_EXECUTABLE} Doxyfile
${
CMAKE_COMMAND
}
-D DOXYGEN_EXECUTABLE=
${
DOXYGEN_EXECUTABLE
}
-P
${
CMAKE_SOURCE_DIR
}
/cmake/scripts/RunDoxygen.cmake
COMMENT
"Running doxygen documentation. This may take a while"
DEPENDS Doxyfile
)
# Create a target for building the doxygen documentation of a module,
# that is run during make doc.
add_custom_target
(
doxygen_
${
DUNE_MOD_NAME
}
DEPENDS html
)
...
...
@@ -41,7 +43,7 @@ MACRO (add_doxygen_target)
# Use a cmake call to install the doxygen documentation and create a target for it
file
(
GLOB doxygenfiles GLOB
${
CMAKE_CURRENT_BINARY_DIR
}
/html/*.html
${
CMAKE_CURRENT_BINARY_DIR
}
/html/*.png
${
CMAKE_CURRENT_BINARY_DIR
}
/html/*.css
${
CMAKE_CURRENT_BINARY_DIR
}
/html/*.gif
)
set
(
doxygenfiles
"
${
CMAKE_CURRENT_BINARY_DIR
}
/doxyerr.log;
${
doxygenfiles
}
"
)
set
(
doxygenfiles
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
doxygen.log;
${
CMAKE_CURRENT_BINARY_DIR
}
/
doxyerr.log;
${
doxygenfiles
}
"
)
set
(
install_doxygen_command
${
CMAKE_COMMAND
}
-D FILES=
"
${
doxygenfiles
}
"
-D DIR=
${
CMAKE_INSTALL_PREFIX
}
/share/doc/
${
DUNE_MOD_NAME
}
/doxygen -P
${
CMAKE_SOURCE_DIR
}
/cmake/scripts/InstallFile.cmake
)
add_custom_target
(
doxygen_install_
${
DUNE_MOD_NAME
}
${
install_doxygen_command
}
...
...
This diff is collapsed.
Click to expand it.
cmake/scripts/RunDoxygen.cmake
0 → 100644
+
3
−
0
View file @
d6340698
execute_process
(
COMMAND
${
DOXYGEN_EXECUTABLE
}
Doxyfile OUTPUT_FILE doxygen.log ERROR_FILE doxygen.log
)
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