Mercurial > hg > orthanc
view OrthancPro/MacOsX.txt @ 927:ff1812962f30 mac
fix DOS EOL
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Apr 2014 16:53:25 +0200 |
parents | cecce673f22f |
children |
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 Avec Xcode 4.2 (pour Mac OS 10.6) --------------------------------- Le build 64bit ne fonctionne pas a cause de Google Log. Il faut preciser l'architecture : xcodebuild -arch i386 xcodebuild -arch i386 -configuration Release 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." Outils ====== http://macdependency.googlecode.com/ => correspond a DependencyWalker