Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
79ae34c1
Commit
79ae34c1
authored
9 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
move doxygen generation to a subdirectory
parent
a6e5553e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
build.sh
+1
-1
1 addition, 1 deletion
build.sh
indra/CMakeLists.txt
+2
-12
2 additions, 12 deletions
indra/CMakeLists.txt
indra/doxygen/CMakeLists.txt
+28
-0
28 additions, 0 deletions
indra/doxygen/CMakeLists.txt
indra/doxygen/Doxyfile.in
+3
-3
3 additions, 3 deletions
indra/doxygen/Doxyfile.in
with
34 additions
and
16 deletions
build.sh
+
1
−
1
View file @
79ae34c1
...
@@ -408,7 +408,7 @@ then
...
@@ -408,7 +408,7 @@ then
if
[
-d
"
$build_dir
/doxygen/html"
]
if
[
-d
"
$build_dir
/doxygen/html"
]
then
then
(
cd
"
$build_dir
/doxygen/html"
;
tar
cjf
"
$build_dir
/viewer-doxygen.tar.bz2"
.
)
(
cd
"
$build_dir
/doxygen/html"
;
tar
cjf
"
$build_dir
/viewer-doxygen.tar.bz2"
.
)
upload_item docs viewer-doxygen.tar.bz2 binary/octet-stream
upload_item docs
"
$build_dir
/
viewer-doxygen.tar.bz2
"
binary/octet-stream
fi
fi
*
)
*
)
echo
"Skipping mapfile for
$last_built_variant
"
echo
"Skipping mapfile for
$last_built_variant
"
...
...
This diff is collapsed.
Click to expand it.
indra/CMakeLists.txt
+
2
−
12
View file @
79ae34c1
...
@@ -91,21 +91,11 @@ endif (LINUX)
...
@@ -91,21 +91,11 @@ endif (LINUX)
add_subdirectory
(
${
VIEWER_PREFIX
}
newview
)
add_subdirectory
(
${
VIEWER_PREFIX
}
newview
)
add_dependencies
(
viewer secondlife-bin
)
add_dependencies
(
viewer secondlife-bin
)
add_subdirectory
(
${
VIEWER_PREFIX
}
doxygen EXCLUDE_FROM_ALL
)
if
(
LL_TESTS
)
if
(
LL_TESTS
)
# Define after the custom targets are created so
# Define after the custom targets are created so
# individual apps can add themselves as dependencies
# individual apps can add themselves as dependencies
add_subdirectory
(
${
INTEGRATION_TESTS_PREFIX
}
integration_tests
)
add_subdirectory
(
${
INTEGRATION_TESTS_PREFIX
}
integration_tests
)
endif
(
LL_TESTS
)
endif
(
LL_TESTS
)
# add a target to generate API documentation with Doxygen
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
find_program
(
PERL perl
)
# I am not sure if this is really needed or not
GET_FILENAME_COMPONENT
(
DOXYGEN_TOP_SRC_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
PATH
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile @ONLY
)
add_custom_target
(
doc
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
COMMENT
"Generating API documentation with Doxygen"
VERBATIM
)
endif
(
DOXYGEN_FOUND
)
This diff is collapsed.
Click to expand it.
indra/doxygen/CMakeLists.txt
0 → 100755
+
28
−
0
View file @
79ae34c1
# -*- cmake -*-
# cmake_minimum_required should appear before any
# other commands to guarantee full compatibility
# with the version specified
## prior to 2.8, the add_custom_target commands used in setting the version did not work correctly
cmake_minimum_required
(
VERSION 2.8.8 FATAL_ERROR
)
set
(
ROOT_PROJECT_NAME
"SecondLife"
CACHE STRING
"The root project/makefile/solution name. Defaults to SecondLife."
)
project
(
${
ROOT_PROJECT_NAME
}
)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_SOURCE_DIR
}
/cmake"
)
include
(
Variables
)
# add a target to generate API documentation with Doxygen
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
GET_FILENAME_COMPONENT
(
DOXYGEN_TOP_SRC_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/.. PATH
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile @ONLY
)
add_custom_target
(
doc
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/..
COMMENT
"Generating API documentation with Doxygen"
VERBATIM
)
endif
(
DOXYGEN_FOUND
)
This diff is collapsed.
Click to expand it.
indra/Doxyfile.in
→
indra/
doxygen/
Doxyfile.in
+
3
−
3
View file @
79ae34c1
...
@@ -38,7 +38,7 @@ PROJECT_NUMBER = @VIEWER_SHORT_VERSION@.@VIEWER_VERSION_REVISION@
...
@@ -38,7 +38,7 @@ PROJECT_NUMBER = @VIEWER_SHORT_VERSION@.@VIEWER_VERSION_REVISION@
# If a relative path is entered, it will be relative to the location
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
# where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@
/doxygen
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
# 4096 sub-directories (in 2 levels) under the output directory of each output
...
@@ -634,7 +634,7 @@ EXCLUDE_SYMBOLS =
...
@@ -634,7 +634,7 @@ EXCLUDE_SYMBOLS =
# directories that contain example code fragments that are included (see
# directories that contain example code fragments that are included (see
# the \include command).
# the \include command).
EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/../doc
EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/../
../
doc
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
...
@@ -1360,7 +1360,7 @@ EXTERNAL_GROUPS = YES
...
@@ -1360,7 +1360,7 @@ EXTERNAL_GROUPS = YES
# The PERL_PATH should be the absolute path and name of the perl script
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which perl').
# interpreter (i.e. the result of `which perl').
PERL_PATH = @PERL@
#
PERL_PATH = @PERL@
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
# Configuration options related to the dot tool
...
...
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