Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update XCode Project to 10.7 Lion #400

Closed
GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment
Closed

Update XCode Project to 10.7 Lion #400

GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Contributor

The project files you supply in the XCode folder of your distribution archive 
are quite outdated. I attached an updated version that works with current OS X 
versions.

Original issue reported on code.google.com by jup...@gmail.com on 31 Jan 2012 at 12:58

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

Attached are a collection of changes to the Xcode build infrastructure that 
comes with googletest. They are similar to the above but improve on it several 
respects. 

Here are my commit notes for this patch:

Updating build settings for use with Xcode 4 on 10.7+. The
 http://code.google.com/p/googletest/wiki/XcodeGuide should
 be updated:

Quick Start

Here is the quick guide for using Google Test in your Xcode project.
    1.  Download the source from the website using this command: svn checkout http://googletest.googlecode.com/svn/trunk/ googletest-read-only (or, using git clone http://git.chromium.org/external/googletest.git)
    2.  Create a new "Command Line Tool" target in your Xcode project called something like "UnitTests"
    3.  Add the gtest.xcodeproj in the googletest.../xcode/ to your project and add it's gtest.framework to both the "Target Dependencies" (via the plus button) and the "Link Binary with Libraries" build phase of "UnitTests".
    4.  Add your unit test source code to the "Compile Sources" build phase of "UnitTests"
    5. Edit the "UnitTests" executable and add an environment variable named "LD_RUNPATH_SEARCH_PATHS" with a value of "@loader_path/" (without the quotes).
    6.  Build and Go

Original comment by goo...@geheimwerk.de on 21 Oct 2012 at 5:16

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants