Propagate the version to the executable code.
This commit is contained in:
parent
5bea5d34ec
commit
7ce34cdf3c
1
Makefile
1
Makefile
@ -60,6 +60,7 @@ CXX.Flags += -fno-strict-aliasing
|
||||
|
||||
# Determine cling's version:
|
||||
CLING_VERSION=$(shell cat "VERSION")
|
||||
CPP.Flags += -DCLING_VERSION='"$(CLING_VERSION) "'
|
||||
|
||||
###
|
||||
# Cling Top Level specific stuff.
|
||||
|
@ -160,6 +160,8 @@ $(CLINGEXEO): CLINGEXCCXXFLAGS := -fexceptions
|
||||
else
|
||||
endif
|
||||
|
||||
CLING_VERSION=$(shell cat "$(CLINGDIR)/VERSION")
|
||||
|
||||
$(CLINGEXCEPO): CLINGEXCCXXFLAGS := -fexceptions
|
||||
$(CLINGETC) : $(LLVMLIB)
|
||||
$(CLINGO) : $(CLINGETC)
|
||||
@ -167,4 +169,5 @@ $(call stripsrc,$(MODDIR)/lib/Interpreter/CIFactory.o): $(CLINGCOMPDH)
|
||||
$(call stripsrc,$(MODDIR)/lib/Interpreter/CIFactory.o): CLINGCXXFLAGS += -I$(dir $(CLINGCOMPDH))
|
||||
$(call stripsrc,$(MODDIR)/lib/Interpreter/Interpreter.o): $(CLINGCOMPDH)
|
||||
$(call stripsrc,$(MODDIR)/lib/Interpreter/Interpreter.o): CLINGCXXFLAGS += -I$(dir $(CLINGCOMPDH))
|
||||
$(call stripsrc,$(MODDIR)/lib/Interpreter/Interpreter.o): CLINGCXXFLAGS += -DCLING_VERSION='"$(CLING_VERSION)"'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user