Skip to content

Commit

Permalink
Makefile now defaults to cxxstd=any (#639)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zeux authored Oct 28, 2024
1 parent 23e617b commit 2729d80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 2729d80

Please sign in to comment.