llvm.org GIT mirror llvm / 6cc16a0
Add Option unit tests to the make build Previously, they were only built and run in the CMake build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186756 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 6 years ago
2 changed file(s) with 25 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
88
99 LEVEL = ..
1010
11 PARALLEL_DIRS = ADT ExecutionEngine Support Transforms IR Analysis Bitcode \
12 DebugInfo Object
11 PARALLEL_DIRS = ADT Analysis Bitcode DebugInfo ExecutionEngine IR Object \
12 Option Support Transforms
1313
1414 include $(LEVEL)/Makefile.common
1515
0 ##===- unittests/Option/Makefile ---------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file is distributed under the University of Illinois Open Source
5 # License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8
9 LEVEL = ../..
10 TESTNAME = Option
11 LINK_COMPONENTS := option support
12
13 BUILT_SOURCES = Opts.inc
14 TABLEGEN_INC_FILES_COMMON = 1
15
16 include $(LEVEL)/Makefile.config
17
18 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
19
20 $(ObjDir)/Opts.inc.tmp : Opts.td $(LLVM_TBLGEN) $(ObjDir)/.dir
21 $(Echo) "Building Driver Option tables with tblgen"
22 $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<