Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
cmake: Add valgrind support.
Browse files Browse the repository at this point in the history
  • Loading branch information
thughes authored and ry committed Dec 2, 2010
1 parent b46f10a commit cf1811a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ cdash: $(BUILD)/Makefile
cdash-cov: $(BUILD)/Makefile
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 changes: 5 additions & 0 deletions README.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ To submit coverage test results:

make -f Makefile.cmake cdash-cov

To submit valgrind test results:

make -f Makefile.cmake cdash-mem

Using cmake directly:
cd ~/your-node-source-dir
mkdir name-of-build-dir (can be anything)
Expand All @@ -47,6 +51,7 @@ Using cmake directly:
Other build targets:
make Experimental
make Nightly
make NightlyMemoryCheck
make Continuous

Additional options:
Expand Down

0 comments on commit cf1811a

Please sign in to comment.