mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:59:56 +00:00
include Makefile.common before using $(BuildMode) to get its definition
llvm-svn: 68167
This commit is contained in:
parent
ea884c9e5e
commit
a47cb48efd
@ -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