mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
Moved Google Test code up one directory so that we can use a standard LLVM
Makefile with it, without resorting to the use of VPATH. Also added Makefiles at every level of the directory tree to properly recurse to Google Test and build it as a library (original Makefiles by Talin). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
94f0a38a00
commit
3aae44e19f
@ -8,7 +8,7 @@
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL = ..
|
||||
PARALLEL_DIRS := TableGen fpcmp PerfectShuffle
|
||||
PARALLEL_DIRS := TableGen fpcmp PerfectShuffle unittest
|
||||
|
||||
EXTRA_DIST := cgiplotNLT.pl check-each-file codegen-diff countloc.sh cvsupdate \
|
||||
DSAclean.py DSAextract.py emacs findsym.pl GenLibDeps.pl \
|
||||
|
13
utils/unittest/Makefile
Normal file
13
utils/unittest/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
##===- utils/unittest/Makefile -----------------------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL = ../..
|
||||
PARALLEL_DIRS = googletest
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
20
utils/unittest/googletest/Makefile
Normal file
20
utils/unittest/googletest/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
##===- utils/unittest/googletest/Makefile ------------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL := ../../..
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
LIBRARYNAME = GoogleTest
|
||||
BUILD_ARCHIVE = 1
|
||||
SOURCES = gtest-all.cc
|
||||
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/
|
||||
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
|
||||
CPP.Flags += -Wno-missing-field-initializers -Wno-variadic-macros
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
@ -7,8 +7,8 @@ the actual source code, to minimize the addition to the LLVM distribution.
|
||||
Cleaned up as follows:
|
||||
$ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README
|
||||
$ rm -rf build-aux m4 make msvc samples scons scripts test xcode
|
||||
|
||||
# Clean up source files used for generating headers
|
||||
$ rm -f `find . -name \*\.pump`
|
||||
$ mv src/* .
|
||||
$ rmdir src
|
||||
|
||||
For the license, see the file COPYING in this directory.
|
||||
|
Loading…
Reference in New Issue
Block a user