Lines Matching refs:cpp
9 # where are the example cpp files
10 EXAMPLES = $(wildcard examples/*.cpp)
15 %.output: %.cpp
16 @echo "standard $(call cxx_standard $(<:.cpp=))"
17 $(MAKE) $(<:.cpp=) \
19 CXXFLAGS="-std=$(call cxx_standard,$(<:.cpp=)) -Wno-deprecated-declarations"
20 ./$(<:.cpp=) > $@
21 rm $(<:.cpp=)
24 %.test: %.cpp
25 $(MAKE) $(<:.cpp=) \
27 CXXFLAGS="-std=$(call cxx_standard,$(<:.cpp=)) -Wno-deprecated-declarations"
28 ./$(<:.cpp=) > $@
29 diff $@ $(<:.cpp=.output)
30 rm $(<:.cpp=) $@
33 create_output: $(EXAMPLES:.cpp=.output)
36 check_output: $(EXAMPLES:.cpp=.test)
40 check_output_portable: $(filter-out examples/meta.test examples/max_size.test examples/std_hash.test examples/basic_json__CompatibleType.test,$(EXAMPLES:.cpp=.test))
43 rm -fr $(EXAMPLES:.cpp=)