Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
graphicsframework
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
Model registry
Operate
Environments
Monitor
Incidents
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
Oliver Behnke
graphicsframework
Commits
729e9a74
Commit
729e9a74
authored
16 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Added doc target to build script
* Invokes doxygen * Copies required images (finally!)
parent
a1e77632
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.sh
+17
-3
17 additions, 3 deletions
build.sh
src/doxygen_index.h
+5
-0
5 additions, 0 deletions
src/doxygen_index.h
with
22 additions
and
3 deletions
build.sh
+
17
−
3
View file @
729e9a74
...
...
@@ -492,6 +492,7 @@ print_usage()
echo
" --linux"
echo
" --mac"
echo
" --win32"
echo
" --doc"
echo
"*************************"
echo
"Wrong usage. Stopping!"
>>
$LOGFILE
...
...
@@ -505,6 +506,7 @@ print_usage()
TARGET_LINUX
=
1
TARGET_MAC
=
2
TARGET_WIN32
=
3
TARGET_DOC
=
4
echo
"************************************"
|
tee
-a
$LOGFILE
echo
"Starting new build!"
|
tee
-a
$LOGFILE
...
...
@@ -534,6 +536,10 @@ case "$1" in
check_last_build
"
$1
"
||
failure
echo
"Building win32 version:"
|
tee
-a
$LOGFILE
;;
"--doc"
)
TARGET
=
$TARGET_DOC
echo
"Building documentation..."
|
tee
-a
$LOGFILE
;;
"--distclean"
)
distclean
||
failure
exit
0
...
...
@@ -552,19 +558,27 @@ esac
# here we go...
check_prerequisites
||
failure
prepare_generic
||
failure
case
$TARGET
in
$TARGET_LINUX
)
check_prerequisites
||
failure
prepare_generic
||
failure
build_linux
||
failure
;;
$TARGET_MAC
)
check_prerequisites
||
failure
prepare_generic
||
failure
build_mac
||
failure
;;
$TARGET_WIN32
)
check_prerequisites
||
failure
prepare_generic
||
failure
build_win32
||
failure
;;
$TARGET_DOC
)
doxygen Doxyfile
>>
$LOGFILE
2>&1
||
failure
cp
-f
$ROOT
/doc/default/
*
.png
$ROOT
/doc/html
>>
$LOGFILE
2>&1
||
failure
cp
-f
$ROOT
/doc/default/
*
.gif
$ROOT
/doc/html
>>
$LOGFILE
2>&1
||
failure
;;
*
)
# should be unreachable
print_usage
...
...
This diff is collapsed.
Click to expand it.
src/doxygen_index.h
+
5
−
0
View file @
729e9a74
...
...
@@ -192,6 +192,7 @@
* - ar
* - lex (i.e. flex)
* - yacc (i.e. bison)
* - doxygen (optional)
*
* \subsubsection sec_build_usage Usage
*
...
...
@@ -201,6 +202,10 @@
* - Linux build: \code build.sh --linux \endcode
* - Mac OS X build: \code build.sh --mac \endcode
* - Windows build (uses MinGW cross-compile with Linux as build system!): \code build.sh --win32 \endcode
*
* Additional tools are provided as follows:
*
* - Build this documentation (requires doxygen): \code build.sh --doc \endcode
* - Purge build tree: \code build.sh --distclean \endcode
*
* \section cha_license The License
...
...
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