From 15c60a98dc767bb2a38d052217e64d05516e1d39 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 12 Mar 2017 15:04:05 +0330 Subject: added a new c++14 build mode --- makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/makefile b/makefile index 8a5cc21..f233ca3 100644 --- a/makefile +++ b/makefile @@ -62,6 +62,15 @@ EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o endif +ifeq ($(BUILD_MODE), COV_NO_CLANG_14) +ifeq ($(CXX), g++) +$(error This build mode is only useable with clang++.) +endif +EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell $(LLVM_CONF) --obj-root)/tools/clang/include\ + -std=c++14 -stdlib=libstdc++ -UNDEBUG -fexceptions +EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o +endif + ifeq ($(BUILD_MODE), GNU_MODE) ifneq ($(CXX), g++) $(error This build mode is only useable with g++.) -- cgit v1.2.3