mirror of
https://github.com/nlohmann/json.git
synced 2024-11-28 09:09:02 +08:00
👷 added precondition for individual tests
This commit is contained in:
parent
a820d688eb
commit
4c232fe12b
@ -70,7 +70,7 @@ json_unit: $(OBJECTS) ../src/json.hpp src/catch.hpp
|
||||
# individual test cases
|
||||
##############################################################################
|
||||
|
||||
test-%: src/unit-%.cpp
|
||||
test-%: src/unit-%.cpp ../src/json.hpp src/catch.hpp
|
||||
@echo "[CXXLD] $@"
|
||||
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -DCATCH_CONFIG_MAIN $< -o $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user