add single_header CMake target
This commit is contained in:
parent
57d822b6e2
commit
7e4ee23f40
5 changed files with 19119 additions and 27 deletions
53
Makefile
53
Makefile
|
@ -1,29 +1,32 @@
|
|||
.PHONY: pretty clean ChangeLog.md
|
||||
|
||||
SRCDIR = src
|
||||
SRCS = ${SRCDIR}/json.hpp \
|
||||
${SRCDIR}/json_fwd.hpp \
|
||||
${SRCDIR}/detail/macro_scope.hpp \
|
||||
${SRCDIR}/detail/macro_unscope.hpp \
|
||||
${SRCDIR}/detail/meta.hpp \
|
||||
${SRCDIR}/detail/exceptions.hpp \
|
||||
${SRCDIR}/detail/value_t.hpp \
|
||||
${SRCDIR}/detail/conversions/from_json.hpp \
|
||||
${SRCDIR}/detail/conversions/to_json.hpp \
|
||||
${SRCDIR}/detail/parsing/input_adapters.hpp \
|
||||
${SRCDIR}/detail/parsing/lexer.hpp \
|
||||
${SRCDIR}/detail/parsing/parser.hpp \
|
||||
${SRCDIR}/detail/iterators/primitive_iterator.hpp \
|
||||
${SRCDIR}/detail/iterators/internal_iterator.hpp \
|
||||
${SRCDIR}/detail/iterators/iter_impl.hpp \
|
||||
${SRCDIR}/detail/iterators/iteration_proxy.hpp \
|
||||
${SRCDIR}/detail/iterators/json_reverse_iterator.hpp \
|
||||
${SRCDIR}/detail/parsing/output_adapters.hpp \
|
||||
${SRCDIR}/detail/parsing/binary_reader.hpp \
|
||||
${SRCDIR}/detail/parsing/binary_writer.hpp \
|
||||
${SRCDIR}/detail/serializer.hpp \
|
||||
${SRCDIR}/detail/json_ref.hpp \
|
||||
${SRCDIR}/adl_serializer.hpp
|
||||
SRCDIR = ./src
|
||||
SRCS = $(SRCDIR)/json.hpp \
|
||||
$(SRCDIR)/json_fwd.hpp \
|
||||
$(SRCDIR)/detail/macro_scope.hpp \
|
||||
$(SRCDIR)/detail/macro_unscope.hpp \
|
||||
$(SRCDIR)/detail/meta.hpp \
|
||||
$(SRCDIR)/detail/exceptions.hpp \
|
||||
$(SRCDIR)/detail/value_t.hpp \
|
||||
$(SRCDIR)/detail/conversions/from_json.hpp \
|
||||
$(SRCDIR)/detail/conversions/to_json.hpp \
|
||||
$(SRCDIR)/detail/parsing/input_adapters.hpp \
|
||||
$(SRCDIR)/detail/parsing/lexer.hpp \
|
||||
$(SRCDIR)/detail/parsing/parser.hpp \
|
||||
$(SRCDIR)/detail/iterators/primitive_iterator.hpp \
|
||||
$(SRCDIR)/detail/iterators/internal_iterator.hpp \
|
||||
$(SRCDIR)/detail/iterators/iter_impl.hpp \
|
||||
$(SRCDIR)/detail/iterators/iteration_proxy.hpp \
|
||||
$(SRCDIR)/detail/iterators/json_reverse_iterator.hpp \
|
||||
$(SRCDIR)/detail/parsing/output_adapters.hpp \
|
||||
$(SRCDIR)/detail/parsing/binary_reader.hpp \
|
||||
$(SRCDIR)/detail/parsing/binary_writer.hpp \
|
||||
$(SRCDIR)/detail/serializer.hpp \
|
||||
$(SRCDIR)/detail/json_ref.hpp \
|
||||
$(SRCDIR)/adl_serializer.hpp
|
||||
|
||||
UNAME = $(shell uname)
|
||||
CXX=clang++
|
||||
|
||||
# main target
|
||||
all:
|
||||
|
@ -42,7 +45,6 @@ all:
|
|||
@echo "pedantic_gcc - run GCC with maximal warning flags"
|
||||
@echo "pretty - beautify code with Artistic Style"
|
||||
|
||||
|
||||
##########################################################################
|
||||
# unit tests
|
||||
##########################################################################
|
||||
|
@ -247,6 +249,7 @@ pretty:
|
|||
$(SRCS) test/src/*.cpp \
|
||||
benchmarks/src/benchmarks.cpp doc/examples/*.cpp
|
||||
|
||||
|
||||
##########################################################################
|
||||
# changelog
|
||||
##########################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue