diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2019-02-13 02:16:52 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2019-02-13 02:16:52 +0000 |
commit | 83481c8c5c0cd0b3fc86f39b2985efd4e300200a (patch) | |
tree | 784fc9b3c98d0e853336f1fb982fd243162c922c /googletest/xcode/Config/StaticLibraryTarget.xcconfig |
Import GoogleTest 1.8.1 into the vendor tree under `^/google/googletest/dist`vendor/google/googletest/1.8.1
GoogleTest is a widely used opensource C++ test framework, licensed under a
BSD 3-clause license. It fits best in the realm of doing functional/whitebox
testing, similar to ATF's C++ library. However, it has additional functionality
such as per-testcase setup fixtures, class level setup and teardown fixtures,
and a lot more functional/syntactic goodness.
In addition to large corporations adopting GoogleTest as their defacto C++ test
library (Facebook, Google, etc), many opensource projects have adopted
GoogleTest, e.g., the Capsicum project, Chrome, etc.
The goal for importing this is to enable testing with zfsd and integrate
googletest into kyua.
This is the final version that will support a pre-C++-11 compiler. As such, this
test framework will not be available to gcc 4.2.1, similar to ATF's C++ library.
A subsequent set of commits will:
1. Tag ^/google/googletest/dist as ^/google/googletest/1.8.1 using `svn cp ^/google/googletest/dist ^/google/googletest/1.8.1`.
2. Import this code into ^/head and integrate it into the build for all applicable
platforms and C++ compile toolchains.
The import was done via the following command pipeline on OSX:
```
curl -L https://github.com/google/googletest/archive/release-1.8.1.tar.gz | tar --strip-components=1 -xvzf - -C dist/
```
Approved by: emaste (mentor)
Discussed with: brooks, jtl
Differential Revision: https://reviews.freebsd.org/D18622
Notes
Notes:
svn path=/vendor/google/googletest/dist/; revision=344078
svn path=/vendor/google/googletest/1.8.1/; revision=344079; tag=vendor/google/googletest/1.8.1
Diffstat (limited to 'googletest/xcode/Config/StaticLibraryTarget.xcconfig')
-rw-r--r-- | googletest/xcode/Config/StaticLibraryTarget.xcconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/googletest/xcode/Config/StaticLibraryTarget.xcconfig b/googletest/xcode/Config/StaticLibraryTarget.xcconfig new file mode 100644 index 000000000000..d2424fe80d1c --- /dev/null +++ b/googletest/xcode/Config/StaticLibraryTarget.xcconfig @@ -0,0 +1,18 @@ +// +// StaticLibraryTarget.xcconfig +// +// These are static library target settings for libgtest.a. It +// is set in the "Based On:" dropdown in the "Target" info dialog. +// This file is based on the Xcode Configuration files in: +// https://github.com/google/google-toolbox-for-mac +// + +// Static libs can be included in bundles so make them position independent +GCC_DYNAMIC_NO_PIC = NO + +// Static libs should not have their internal globals or external symbols +// stripped. +STRIP_STYLE = debugging + +// Let the user install by specifying the $DSTROOT with xcodebuild +SKIP_INSTALL = NO |