Browse Source

cmake: Add valgrind support.

v0.7.4-release
Tom Hughes 14 years ago
committed by Ryan Dahl
parent
commit
cf1811a6d3
  1. 5
      Makefile.cmake
  2. 5
      README.cmake

5
Makefile.cmake

@ -33,4 +33,7 @@ cdash: $(BUILD)/Makefile
cdash-cov: $(BUILD)/Makefile cdash-cov: $(BUILD)/Makefile
cd $(BUILD) && $(CMAKE) -DUSE_GCOV=True .. && make Experimental cd $(BUILD) && $(CMAKE) -DUSE_GCOV=True .. && make Experimental
.PHONY: build install clean doc package test cdash cdash-cov cdash-mem: $(BUILD)/Makefile
cd $(BUILD) && make NightlyMemoryCheck
.PHONY: build install clean doc package test cdash cdash-cov cdash-mem

5
README.cmake

@ -34,6 +34,10 @@ To submit coverage test results:
make -f Makefile.cmake cdash-cov make -f Makefile.cmake cdash-cov
To submit valgrind test results:
make -f Makefile.cmake cdash-mem
Using cmake directly: Using cmake directly:
cd ~/your-node-source-dir cd ~/your-node-source-dir
mkdir name-of-build-dir (can be anything) mkdir name-of-build-dir (can be anything)
@ -47,6 +51,7 @@ Using cmake directly:
Other build targets: Other build targets:
make Experimental make Experimental
make Nightly make Nightly
make NightlyMemoryCheck
make Continuous make Continuous
Additional options: Additional options:

Loading…
Cancel
Save