Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rebuilt CTest files for explicit targets

Moved CTest files into CMake dir
Adjust Trac docs



git-svn-id: https://external.lite3d.com/opensg/svn_repo/trunk@2297 4683daeb-ad0f-0410-a623-93161e962ae5
  • Loading branch information...
commit 4332604de300c182099935026bfaa70975bc6166 1 parent 157685a
dirk authored
View
46 CMake/Nightly.TracDocs.ctest
@@ -0,0 +1,46 @@
+
+SET (CTEST_SOURCE_DIRECTORY "/data/Builds/Nightly_Docs/Source")
+SET (CTEST_BINARY_DIRECTORY "/data/Builds/Nightly_Docs/Build")
+
+find_package(Subversion)
+
+SET (CTEST_SVN_COMMAND ${Subversion_SVN_EXECUTABLE})
+
+# which ctest command to use for running the dashboard
+SET (CTEST_COMMAND "/usr/bin/ctest -D Nightly")
+
+# what cmake command to use for configuring this dashboard
+SET (CTEST_CMAKE_GENERATOR "Unix Makefiles")
+
+# should ctest wipe the binary tree before running
+SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY FALSE)
+
+# this is the initial cache to use for the binary tree, be careful to escape
+# any quotes inside of this string if you use it
+SET (CTEST_INITIAL_CACHE "
+BUILD_TESTING:BOOL=OFF
+CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
+OSGBUILD_ENABLE_PACKAGING:BOOL=OFF
+OSGBUILD_EXAMPLES_ADVANCED:BOOL=OFF
+OSGBUILD_EXAMPLES_SIMPLE:BOOL=OFF
+OSGBUILD_TESTS:BOOL=OFF
+OSGBUILD_UNITTESTS:BOOL=OFF
+
+OSG_DOXY_DOC_TYPE:STRING=Trac
+
+SITE:STRING=destiny
+BUILDNAME:STRING=Doc
+")
+
+SET (MODEL "Nightly")
+
+ctest_start(${MODEL})
+
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE NUMBER_FILES)
+
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+SET (CTEST_BUILD_TARGET "DocUpload")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+ctest_submit()
View
38 Nightly.linux.ctest → CMake/Nightly.linux.ctest
@@ -2,34 +2,56 @@
SET (CTEST_SOURCE_DIRECTORY "/data/Builds/Nightly/Source")
SET (CTEST_BINARY_DIRECTORY "/data/Builds/Nightly/Build")
-SET (CTEST_CVS_COMMAND "/usr/bin/svn")
-SET (CTEST_CVS_CHECKOUT "${CTEST_CVS_COMMAND} co http://www.opensg.org/svn_repo/trunk ${CTEST_SOURCE_DIRECTORY}")
+find_package(Subversion)
+
+SET (CTEST_SVN_COMMAND ${Subversion_SVN_EXECUTABLE})
# which ctest command to use for running the dashboard
-SET (CTEST_COMMAND "/usr/bin/ctest -D Nightly")
+SET (CTEST_COMMAND "/usr/bin/ctest -D Experimental")
# what cmake command to use for configuring this dashboard
-SET (CTEST_CMAKE_COMMAND "/usr/bin/cmake")
+SET (CTEST_CMAKE_GENERATOR "Unix Makefiles")
+
+SET (CTEST_BUILD_FLAGS "-j4")
# should ctest wipe the binary tree before running
-SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
+SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY FALSE)
# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
SET (CTEST_INITIAL_CACHE "
BUILD_TESTING:BOOL=ON
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
-OSGBUILD_ENABLE_PACKAGING:BOOL=ON
OSGBUILD_EXAMPLES_ADVANCED:BOOL=ON
OSGBUILD_EXAMPLES_SIMPLE:BOOL=ON
OSGBUILD_TESTS:BOOL=ON
OSGBUILD_UNITTESTS:BOOL=ON
-SITE:STRING=dream2
+OSGBUILD_ENABLE_PACKAGING:BOOL=ON
+OSGBUILD_UPLOAD_PACKAGE:BOOL=ON
+
+SITE:STRING=destiny
BUILDNAME:STRING=FC11-gcc441
-CVSCOMMAND:FILEPATH=/usr/bin/svn
")
+SET (CTEST_SITE "destiny")
+SET (CTEST_BUILDNAME "FC11-gcc441")
+
# set any extra environment variables to use during the execution of the script here:
SET (CTEST_ENVIRONMENT
)
+
+SET (MODEL "Experimental")
+
+ctest_start(${MODEL})
+
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE NUMBER_FILES)
+
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+SET (CTEST_BUILD_TARGET "PackageUpload")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+ctest_submit()
View
2  Doc/opensg-doxy.in
@@ -114,7 +114,7 @@ INLINE_INHERITED_MEMB = NO
# path before files name in the file list and in the header files. If set
# to NO the shortest path that makes the file name unique will be used.
-FULL_PATH_NAMES = YES
+FULL_PATH_NAMES = NO
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
# can be used to strip a user-defined part of the path. Stripping is
View
20 Doc/trac.doxy
@@ -1,20 +0,0 @@
-@INCLUDE = opensg.doxy
-
-# Options that need to be set for Trac/doxygen to work
-
-CREATE_SUBDIRS = NO
-FULL_PATH_NAMES = NO
-SHORT_NAMES = NO
-CASE_SENSE_NAMES = YES
-GENERATE_HTML = YES
-HTML_HEADER = TracHeader.html
-HTML_FOOTER = TracFooter.html
-SEARCHENGINE = YES
-OUTPUT_DIRECTORY = tracdocs
-
-
-INPUT = $(DOX_INPUT)
-
-# Small set for testing...
-# RECURSIVE = YES
-# INPUT = ../Source/System mainpage.dox
Please sign in to comment.
Something went wrong with that request. Please try again.