aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorredfish <redfish@galactica.pw>2016-08-29 14:23:57 -0400
committerredfish <redfish@galactica.pw>2016-09-01 10:47:43 -0400
commite374ae7eebedebced6147f78d4027f510f77e25a (patch)
tree0d427bcd2efb89a69dffc495cfb6d222973b372c /Makefile
parentMerge pull request #1022 (diff)
downloadmonero-e374ae7eebedebced6147f78d4027f510f77e25a.tar.xz
cmake: option+target for profiling for coverage
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 142111465..fc79958f6 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,10 @@ release-all:
mkdir -p build/release
cd build/release && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../.. && $(MAKE)
+coverage:
+ mkdir -p build/debug
+ cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug -D COVERAGE=ON ../.. && $(MAKE) && $(MAKE) test
+
release-static-arm6:
mkdir -p build/release
cd build/release && cmake -D BUILD_TESTS=OFF -D ARCH="armv6zk" -D STATIC=ON -D BUILD_64=OFF -D CMAKE_BUILD_TYPE=release ../.. && $(MAKE)