aboutsummaryrefslogtreecommitdiff
path: root/cpp/README
diff options
context:
space:
mode:
authorFredrik Roubert <roubert@google.com>2013-11-13 17:50:28 +0000
committerFredrik Roubert <roubert@google.com>2014-09-01 19:20:39 +0200
commit3b18f892287f44bf09e19f8c90467b9f5fedb902 (patch)
tree5fe6d607ef7f60c87f38f4832821a0f99a7758da /cpp/README
parentde26ded3d4f17b5622d985919bc8884f855ad911 (diff)
downloadsrc-3b18f892287f44bf09e19f8c90467b9f5fedb902.tar.gz
Add postbuilds for Mac OS X to set dylib path relative to executable.
To make it possible to execute the unit tests directly from the build directory, without having to first set DYLD_LIBRARY_PATH or install the library, install_name_tool is executed in a postbuilds step to set the path to the library to be relative to the unit test executable (so that also the library will be loaded directly from the build directory).
Diffstat (limited to 'cpp/README')
-rw-r--r--cpp/README5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/README b/cpp/README
index 53bf176..69ab112 100644
--- a/cpp/README
+++ b/cpp/README
@@ -69,8 +69,3 @@ Test
This command will execute the unit tests for the library:
$ out/Default/unit_tests
-
-When running on Mac OS X, it's necessary to explicitly specify the path to the
-dynamically linked libraries, to run the tests out of the build directory:
-
-$ DYLD_LIBRARY_PATH='out/Default' out/Default/unit_tests