Skip to content

Instantly share code, notes, and snippets.

@pauloremoli
Last active October 6, 2015 16:06
Show Gist options
  • Save pauloremoli/708f88389352d869dc86 to your computer and use it in GitHub Desktop.
Save pauloremoli/708f88389352d869dc86 to your computer and use it in GitHub Desktop.

#Configuration of Xcode for C++

Using the ALL_BUILD configuration

Edit the scheme: Product -> Scheme -> Edit Scheme

Set the environment variables: Run -> Arguments -> Enviroment Variables

Configure the path to all required libraries

Add an entry for: DYLD_FALLBACK_LIBRARY_PATH

Value: /Users/paulo/Workspace/MyLibs/lib:/Users/paulo/Workspace/MyLibs/terralib5/lib:/Users/paulo/Workspace/MyLibs/gdal2/lib

Add an entry for: DYLD_FALLBACK_FRAMEWORK_PATH

Value: /Users/paulo/Workspace/MyLibs/lib

=================

In order to run you use the scheme configured for ALL_BUILD and change the executable:

Run -> Info -> Executable: terrama2_unittest_core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment