blob: 175ccdd580b8c1b4c2612094d4516a796447b5a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
##===- unittests/Makefile ----------------------------------*- Makefile -*-===##
LEVEL = ..
include $(LEVEL)/Makefile.config
LIBRARYNAME = UnitTestMain
BUILD_ARCHIVE = 1
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
CPP.Flags += -Wno-variadic-macros
# FIXME: Parallel dirs is broken?
DIRS = Expr Solver Ref
include $(LEVEL)/Makefile.common
# Remove -fno-rtti as this prevents typeid() being used
# in gtest
CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
clean::
$(Verb) $(RM) -f *Tests
|