mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
include Makefile.common before using $(BuildMode) to get its definition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68167 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d485e885f0
commit
b0426e86af
@ -14,11 +14,10 @@
|
||||
# Set up variables for building a unit test.
|
||||
ifdef TESTNAME
|
||||
|
||||
LLVMUnitTestDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/unittests
|
||||
LLVMUnitTestExe := $(LLVMUnitTestDir)/$(TESTNAME)Tests$(EXEEXT)
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT)
|
||||
|
||||
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
|
||||
CPP.Flags += -Wno-variadic-macros
|
||||
LIBS += -lGoogleTest -lUnitTestMain
|
||||
|
Loading…
Reference in New Issue
Block a user