Renamed XCode demo project and set install name for dylib.

The default install name is /usr/libs/antlrcpp.dylib which makes running the demo from command line not working (location and install name of the dylib differ). Since the probability that the lib is placed in an app bundle is much higher than that the lib is being installed in the system, the default has been changed to just the dylib name. This can be changed to anything else if needed in a concrete project.
This commit is contained in:
Mike Lischke 2016-05-05 11:45:49 +02:00
parent 9ca136a8b7
commit bfe3a7cc63
5 changed files with 2 additions and 0 deletions

View File

@ -2026,6 +2026,7 @@
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
LD_DYLIB_INSTALL_NAME = "$(EXECUTABLE_PATH)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
@ -2035,6 +2036,7 @@
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
LD_DYLIB_INSTALL_NAME = "$(EXECUTABLE_PATH)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;