Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcfr/cmakebundleutilitiesexample
Small project illustrating how BundleUtilites module can be used within CMake
https://github.com/jcfr/cmakebundleutilitiesexample
Last synced: 23 days ago
JSON representation
Small project illustrating how BundleUtilites module can be used within CMake
- Host: GitHub
- URL: https://github.com/jcfr/cmakebundleutilitiesexample
- Owner: jcfr
- Created: 2013-04-22T21:58:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-16T23:54:16.000Z (over 11 years ago)
- Last Synced: 2024-04-16T07:02:46.847Z (7 months ago)
- Language: C++
- Size: 477 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CMakeBundleUtilitiesExample
===========================Small project illustrating how CMake module BundleUtilites can be used.
It contains:
* MyApp: main executable built using `MACOSX_BUNDLE` property and installed in `/Contents/MacOS`
* MyOtherApp: an other executable installed in `/Contents/bin` folder.
* MyLib: a library linked by both `MyApp` and `MyOtherApp`. It is installed in '/Contents/lib/MyLib' folder.
* MyLib4Plugin: a library linked by `MyPlugin` and installed in `/Contents/lib/MyLib4Plugin`
* MyPlugin: a plugin linked against both `MyLib4Plugin` and `MyLib` and installed in `/Contents/lib/MyPlugin`Options:
* `PACKAGE_WITH_RPATH` (default: ON) Allow to fixup the bundle
using either `@rpath` or `@executable_path/..`* `AUTOMATIC_PACKAGE_FIXUP` (default: ON) By turning off, the user will have to
manually invoke the script `CMake/MyCPackBundleFixup/MyCPackBundleFixup.cmake`. This
is particularly useful when debugging the fixup process. An example of call:
```
$ cd CMakeBundleUtilitiesExample-build
$ DESTDIR=/Volumes/Dashboards/Experimental/CMakeBundleUtilitiesExample-build/_CPack_Packages/Darwin/DragNDrop/MyApp-0.0.1-Darwin ../../Support/CMake\ 2.8-11-rc3.app/Contents/bin/cmake -P CMake/MyCPackBundleFixup/MyCPackBundleFixup.cmake```