Changes between Version 1 and Version 2 of Ticket #1112, comment 7


Ignore:
Timestamp:
Apr 21, 2012, 5:28:33 AM (12 years ago)
Author:
historic_bruno

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1112, comment 7

    v1 v2  
    22
    33I'm pretty happy with how the build script works, it's flexible enough to work on different versions of Xcode and command line tools and it can be used for app bundles (built against a specific SDK). The idea is this script gets dropped in `libraries/osx`, then run once by the developer to build all the libraries. After that they only need to build the game, unless the libraries get updated or they change paths. Currently it's a clean build every time you run it.
     4
     5Explanations:
     6* `SYSROOT` and `MIN_OSX_VERSION` are supported for SDK builds.
     7* `CXX` and `CC` are set to fix broken configs.
     8* I didn't use the bundled build scripts from e.g. Spidermonkey because it would make those scripts very messy with OS X-specific handling, so I duplicated parts of them in this script as a lesser evil.
     9* It would be fairly straightforward to switch to dynamic libs, if there are useful benefits, but static libs avoid the need for install_name/rpath nastiness.
    410
    511Areas for improvement: