diff options
author | bloodstalker <thabogre@gmail.com> | 2017-03-12 11:34:05 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-03-12 11:34:05 +0000 |
commit | 15c60a98dc767bb2a38d052217e64d05516e1d39 (patch) | |
tree | d4a1026dcfc54c325e1a95d7484daafc9c22546f /makefile | |
parent | added a new c++14 build mode (diff) | |
download | mutator-15c60a98dc767bb2a38d052217e64d05516e1d39.tar.gz mutator-15c60a98dc767bb2a38d052217e64d05516e1d39.zip |
added a new c++14 build mode
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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++.) |