add waf, skeleton main.cc

This commit is contained in:
josh committed 2018-03-15 21:50:03 -04:00
commit 1ce1dc41ea
6 files changed
+222

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
all:
./waf build --targets oniguruma-test
.PHONY: clean
clean:
./waf clean
ifneq ($(FILTER),)
GTEST_FILTER := --gtest_filter=$(FILTER)
endif
.PHONY: build_tests
build_tests:
./waf build --targets tests
.PHONY: test
test: build_tests
./build/tests $(GTEST_FILTER)
@-rm -rf coverage
-gcovinator -b build -s src