Skip to content
Browse files

cmake: Add cdash support.

  • Loading branch information...
1 parent 342b8b2 commit 14e6b07f6354f0dbeabd3c723a4586bafa662cc0 @thughes thughes committed
Showing with 21 additions and 1 deletion.
  1. +1 −0 CMakeLists.txt
  2. +7 −0 CTestConfig.cmake
  3. +4 −1 Makefile.cmake
  4. +9 −0 README.cmake
View
1 CMakeLists.txt
@@ -32,6 +32,7 @@ include("cmake/docs.cmake")
# tests
enable_testing()
+include(CTest)
add_subdirectory("test/")
# package
View
7 CTestConfig.cmake
@@ -0,0 +1,7 @@
+set(CTEST_PROJECT_NAME "node")
+set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
+
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "my.cdash.org")
+set(CTEST_DROP_LOCATION "/submit.php?project=node")
+set(CTEST_DROP_SITE_CDASH TRUE)
View
5 Makefile.cmake
@@ -27,4 +27,7 @@ package: $(BUILD)/Makefile
test: $(BUILD)/Makefile
cd $(BUILD) && make test
-.PHONY: build install clean doc package test
+cdash: $(BUILD)/Makefile
+ cd $(BUILD) && make Experimental
+
+.PHONY: build install clean doc package test cdash
View
9 README.cmake
@@ -26,6 +26,10 @@ To build distro packages (tgz, deb, rpm, PackageMaker):
make -f Makefile.cmake package
+To submit test results (see http://my.cdash.org/index.php?project=node):
+
+ make -f Makefile.cmake cdash
+
Using cmake directly:
cd ~/your-node-source-dir
mkdir name-of-build-dir (can be anything)
@@ -36,6 +40,11 @@ Using cmake directly:
make commands (make, make install, etc.). The Makefile.cmake file is just a
wrapper around these commands; take a look at it for more details.
+Other build targets:
+ make Experimental
+ make Nightly
+ make Continuous
+
Additional options:
In the CMakeLists.txt, you'll see things like
option(SHARED_V8, ...). If you want to enable any of those options you can

0 comments on commit 14e6b07

Please sign in to comment.
Something went wrong with that request. Please try again.