add single_header CMake target

This commit is contained in:
Théo DELRIEU 2017-08-14 20:45:33 +02:00
parent 57d822b6e2
commit 7e4ee23f40
No known key found for this signature in database
GPG key ID: 51AC4B3A2C47C10F
5 changed files with 19119 additions and 27 deletions

View file

@ -77,7 +77,7 @@ test-%: src/unit-%.o src/unit.o ../src/json.hpp thirdparty/catch/catch.hpp
TEST_PATTERN ?= "*"
TEST_PREFIX = ""
check: $(TESTCASES)
check: $(OBJECTS) $(TESTCASES)
@cd .. ; for testcase in $(TESTCASES); do echo "Executing $$testcase..."; $(TEST_PREFIX)test/$$testcase $(TEST_PATTERN) || exit 1; done