diff options
author | auriamg <auria.mg@gmail.com> | 2019-12-22 18:10:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 18:10:50 +0300 |
commit | 9b646f4bb324ac7c4e4571c6709d63cc0c982df3 (patch) | |
tree | 8a12aa273c1557faab06e75ab8fdd3444b6a53b2 | |
parent | 3e6bc4ff4286ddeef9a056735133a023da639837 (diff) | |
parent | 82540a25119c0adb17bb98f53dd267db99b0abc5 (diff) |
Merge pull request #43 from SCG82/SCG82-patch-1
Add search path arg to README and Help
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/main.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -56,14 +56,14 @@ fixes dependencies where bundled libraries depend on each other. If this option `-i`, `--ignore` (path) > Dylibs in (path) will be ignored. By default, dylibbundler will ignore libraries installed in `/usr/lib` since they are assumed to be present by default on all OS X installations.*(It is usually recommend not to install additional stuff in `/usr/`, always use ` /usr/local/` or another prefix to avoid confusion between system libs and libs you added yourself)* - `-d`, `--dest-dir` (directory) > Sets the name of the directory in wich distribution-ready dylibs will be placed, relative to the current working directory. (Default is `./libs`) For an app bundle, it is often conveniant to set it to something like `./MyApp.app/Contents/libs`. - `-p`, `--install-path` (libraries install path) > Sets the "inner" installation path of libraries, usually inside the bundle and relative to executable. (Default is `@executable_path/../libs/`, which points to a directory named `libs` inside the `Contents` directory of the bundle.) +`-s`, `--search-path` (search path) +> Check for libraries in the specified path *The difference between `-d` and `-p` is that `-d` is the location dylibbundler will put files at, while `-p` is the location where the libraries will be expected to be found when you launch the app. Both are often related.* diff --git a/src/main.cpp b/src/main.cpp index 90eb390..0c2e9ca 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,6 +58,7 @@ void showHelp() std::cout << "-b, --bundle-deps" << std::endl; std::cout << "-d, --dest-dir <directory to send bundled libraries (relative to cwd)>" << std::endl; std::cout << "-p, --install-path <'inner' path of bundled libraries (usually relative to executable, by default '@executable_path/../libs/')>" << std::endl; + std::cout << "-s, --search-path <directory to add to list of locations searched>" << std::endl; std::cout << "-of, --overwrite-files (allow overwriting files in output directory)" << std::endl; std::cout << "-od, --overwrite-dir (totally overwrite output directory if it already exists. implies --create-dir)" << std::endl; std::cout << "-cd, --create-dir (creates output directory if necessary)" << std::endl; |