add waf, skeleton main.cc
This commit is contained in:
commit
1ce1dc41ea
6 files changed
+222
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user