Debian 10: switch to C++14
Some libraries, e.g. protobuf, depend on C++11 now. As they are (indirectly) included in some .ah aspect headers, everything has to be compiled with C++11 enabled now. This change switches to C++14 globally. Change-Id: I56a802bd510704d668a2b2c8957e11725fbe98b7
This commit is contained in:
committed by
Horst Schirmeier
parent
924e234db1
commit
8d060ef375
@ -1,3 +1,10 @@
|
||||
#### C++14 ####
|
||||
# We need at least C++11, as some library headers begin to require it. C++14
|
||||
# has already aged sufficiently to mandate it here.
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
##### Verbose make ####
|
||||
option( VERBOSE_MAKE "Verbose Makefile output" OFF) # defaults to OFF
|
||||
set(CMAKE_VERBOSE_MAKEFILE ${VERBOSE_MAKE})
|
||||
|
||||
Reference in New Issue
Block a user