0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-25 20:14:10 +08:00

Makefile now defaults to cxxstd=any (#639)

This means that by default we inherit the default language version
supported by the compiler; this will help with string_view testing
in the future as it will "just work" out of the box once the define is
set.

This should also automatically enable CI coverage for string_view; C++11
is still explicitly tested in CI via cxxstd=c++11.
This commit is contained in:
Arseny Kapoulkine 2024-10-28 08:05:36 -07:00 committed by GitHub
parent 23e617b158
commit 2729d80c94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,8 +3,7 @@ MAKEFLAGS+=-r
config=debug
defines=standard
cxxstd=c++11
# set cxxstd=any to disable use of -std=...
cxxstd=any
BUILD=build/make-$(firstword $(CXX))-$(config)-$(defines)-$(cxxstd)