Mercurial > hg > orthanc
view MacOsX.txt @ 923:55b945749bed mac
mainline -> mac integration
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Feb 2014 17:24:08 +0100 |
parents | a0a05f9dcd5a |
children | 8635d78ebb1d |
line wrap: on
line source
Build ===== mkdir Build cd Build cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON .. xcodebuild ./Debug/UnitTests xcodebuild -configuration Release ./Release/UnitTests Xcode ===== Versions + SDK : http://en.wikipedia.org/wiki/Xcode http://stackoverflow.com/questions/6783308/adding-older-ios-sdks-to-xcode-4-1-in-lion Vieilles versions de Xcode : https://developer.apple.com/downloads/index.action?name=Xcode => 7z x ../xcode_4.3.3_for_lion.dmg && sudo mount -o loop -t hfsplus ./5.hfs /mnt/ Archiver /mnt/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs (10.6 et 10.7) => 7z x ../xcode_3.2.6_and_ios_sdk_4.3.dmg && sudo mount -o loop -t hfsplus ./5.hfs /mnt/ # cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ # sudo tar xvfz ~/MacSDK-10.6-10.7.tar.gz https://gist.github.com/markrickert/7459455 https://groups.google.com/forum/#!topic/rubymotion/c7UG95FsZWo : "You can compile to 10.6 if you have the proper SDK installed. Xcode 5 only allows you to install 10.7+. I'd advise sticking with 10.8+ for Mac and 6+ for iOS unless you have specific business reasons. Now that Mavericks is free, people have no barrier to update."