Update Readme with more detail for OS X build
This commit is contained in:
parent
649a22653b
commit
c57664a1ce
25
Mac-compatibility-build.md
Normal file
25
Mac-compatibility-build.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Building On OSX for maximum compatibility
|
||||||
|
|
||||||
|
## Install Older Platform SDKs
|
||||||
|
Use [this script](http://devernay.free.fr/hacks/xcodelegacy/) to install older SDKs.
|
||||||
|
|
||||||
|
## Additional configure flags for compiling wxWidgets
|
||||||
|
### Building on 10.8 or newer
|
||||||
|
* --with-macosx-version-min=10.5
|
||||||
|
* --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk
|
||||||
|
|
||||||
|
### Building on 10.5 to 10.7
|
||||||
|
* --with-macosx-version-min=10.5
|
||||||
|
* --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk
|
||||||
|
|
||||||
|
|
||||||
|
## Recommended flags for development/debugging (Assuming OS X > 10.7)
|
||||||
|
* --enable-debug_gdb
|
||||||
|
* --enable-profile
|
||||||
|
* --enable-arttango
|
||||||
|
* --disable-compat28
|
||||||
|
* --disable-shared
|
||||||
|
* --without-webviewwebkit
|
||||||
|
* --with-macosx-version-min=10.5
|
||||||
|
* --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk
|
||||||
|
|
@ -29,6 +29,10 @@ After these packages are installed, the project should build with a simple `make
|
|||||||
### OS X
|
### OS X
|
||||||
Building wxWidgets:
|
Building wxWidgets:
|
||||||
|
|
||||||
|
If you want maximum compatibility with older versions of OS X,
|
||||||
|
view [the guide](./Mac-compatibility-build.md). Otherwise, these simpler
|
||||||
|
steps should work fine for a local build.
|
||||||
|
|
||||||
1. Download the latest wxWidgets source
|
1. Download the latest wxWidgets source
|
||||||
2. Make a new directory in the source tree, like `wxmac`
|
2. Make a new directory in the source tree, like `wxmac`
|
||||||
3. Run `../configure --disable-shared --disable-webviewwebkit` in the new directory
|
3. Run `../configure --disable-shared --disable-webviewwebkit` in the new directory
|
||||||
|
Loading…
Reference in New Issue
Block a user