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
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
Environments
Terraform modules
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
Core Modules
dune-common
Commits
da0cf3d1
Commit
da0cf3d1
authored
12 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Use better status messages
[[Imported from SVN: r6739]]
parent
31d80e66
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DuneDoxygen.cmake
+11
-7
11 additions, 7 deletions
cmake/modules/DuneDoxygen.cmake
with
11 additions
and
7 deletions
cmake/modules/DuneDoxygen.cmake
+
11
−
7
View file @
da0cf3d1
...
...
@@ -11,9 +11,10 @@ add_custom_target(doxygen_install)
#
# prepare_doxyfile()
# This functions adds the necessary routines for the generation of the Doxyfile[.in] files needed to doxygen.
# This functions adds the necessary routines for the generation of the
# Doxyfile[.in] files needed to doxygen.
MACRO
(
prepare_doxyfile
)
message
(
"DOXYSTYLE_FILE=
${
DOXYSTYLE_FILE
}
"
)
message
(
STATUS
"using
${
DOXYSTYLE_FILE
}
to create doxystyle file
"
)
set
(
make_doxyfile_command
${
CMAKE_COMMAND
}
-D DOT_TRUE=
${
DOT_TRUE
}
-D DUNEWEB_TRUE=\
# -D DUNE_MOD_NAME=${DUNE_MOD_NAME} -D DUNE_MOD_VERSION=${DUNE_MOD_VERSION} -D DOXYSTYLE=${DOXYSTYLE_FILE} -D DOXYLOCAL=${CMAKE_CURRENT_SOURCE_DIR}/Doxylocal -D abs_top_srcdir=${CMAKE_SOURCE_DIR} -D srcdir=${CMAKE_CURRENT_SOURCE_DIR} -D top_srcdir=${CMAKE_SOURCE_DIR} -P ${SCRIPT_DIR}/CreateDoxyFile.cmake)
add_custom_command
(
OUTPUT Doxyfile.in Doxyfile
COMMAND
${
make_doxyfile_command
}
COMMENT
"Creating Doxyfile.in"
)
...
...
@@ -33,11 +34,10 @@ MACRO (add_doxygen_target)
if
(
"
${
CMAKE_PROJECT_NAME
}
"
STREQUAL
"dune-common"
)
set
(
DOXYSTYLE_FILE
${
CMAKE_CURRENT_SOURCE_DIR
}
/Doxystyle
)
endif
(
"
${
CMAKE_PROJECT_NAME
}
"
STREQUAL
"dune-common"
)
message
(
"doxygen
${
SCRIPT_DIR
}
"
)
message
(
STATUS
"Using scripts from
${
SCRIPT_DIR
}
for creating doxygen stuff.
"
)
prepare_doxyfile
()
# A custom command that exectutes doxygen
add_custom_command
(
OUTPUT html COMMAND
#${DOXYGEN_EXECUTABLE} Doxyfile
${
CMAKE_COMMAND
}
-D DOXYGEN_EXECUTABLE=
${
DOXYGEN_EXECUTABLE
}
-P
${
SCRIPT_DIR
}
/RunDoxygen.cmake
COMMENT
"Running doxygen documentation. This may take a while"
DEPENDS Doxyfile
)
...
...
@@ -46,9 +46,13 @@ MACRO (add_doxygen_target)
add_custom_target
(
doxygen_
${
DUNE_MOD_NAME
}
DEPENDS html
)
add_dependencies
(
doc doxygen_
${
DUNE_MOD_NAME
}
)
# 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
)
# 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
}
/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
${
SCRIPT_DIR
}
/InstallFile.cmake
)
add_custom_target
(
doxygen_install_
${
DUNE_MOD_NAME
}
...
...
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