Add support for building on the CDash site. Running the 'Experimental'

target (that is, 'make Experimental' on Linux) will submit the build
results to http://my.cdash.org/index.php?project=PolyVox.
I've (hopefully) set up a nightly build as well.
This commit is contained in:
Matt Williams 2010-02-24 14:26:49 +00:00
parent 2d78808000
commit bced686fed
2 changed files with 10 additions and 0 deletions

View File

@ -23,3 +23,7 @@ ADD_SUBDIRECTORY(examples/OpenGL)
ADD_DEPENDENCIES(OpenGLExample PolyVoxCore PolyVoxUtil)
INCLUDE(Packaging.cmake)
ENABLE_TESTING()
INCLUDE(CTest)
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)

6
CTestConfig.cmake Normal file
View File

@ -0,0 +1,6 @@
set(CTEST_PROJECT_NAME "PolyVox")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=PolyVox")
set(CTEST_DROP_SITE_CDASH TRUE)