From f70817fcca6fcf9d4e137d1429c3ddfcf22780fa Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 30 Dec 2022 19:47:03 +0100 Subject: [PATCH] Build: Elevate to C++17 --- Makefile | 2 +- Makefile.conf | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1abd4d3..6d34a31 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all src clean +.PHONY: all test src clean all: test src diff --git a/Makefile.conf b/Makefile.conf index 2d9b8e5..610f07a 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -2,7 +2,7 @@ LIBNAME:=orca LIB:=lib$(LIBNAME).a C_LANG_VERSION=c99 -CXX_LANG_VERSION=c++11 +CXX_LANG_VERSION=c++17 # Build option defaults PREFIX?=$(HOME)/local @@ -81,3 +81,6 @@ endif CXXFLAGS+=$(COMPILE_FLAGS) CFLAGS+=$(COMPILE_FLAGS) + +$(info C-Compiler: $(shell $(CC) --version)) +$(info C++-Compiler: $(shell $(CXX) --version)) \ No newline at end of file