diff options
author | Fredrik Roubert <roubert@google.com> | 2013-11-13 17:50:28 +0000 |
---|---|---|
committer | Fredrik Roubert <roubert@google.com> | 2014-09-01 19:20:39 +0200 |
commit | 3b18f892287f44bf09e19f8c90467b9f5fedb902 (patch) | |
tree | 5fe6d607ef7f60c87f38f4832821a0f99a7758da /cpp/README | |
parent | de26ded3d4f17b5622d985919bc8884f855ad911 (diff) | |
download | src-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/README | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 |