Mercurial > hg > orthanc
comparison OrthancPro/MacOsX.txt @ 926:cecce673f22f mac
move
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 28 Feb 2014 10:05:31 +0100 |
parents | MacOsX.txt@a4362c5263e2 |
children |
comparison
equal
deleted
inserted
replaced
925:a4362c5263e2 | 926:cecce673f22f |
---|---|
1 Build | |
2 ===== | |
3 | |
4 mkdir Build | |
5 cd Build | |
6 cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON .. | |
7 xcodebuild | |
8 ./Debug/UnitTests | |
9 | |
10 xcodebuild -configuration Release | |
11 ./Release/UnitTests | |
12 | |
13 | |
14 Avec Xcode 4.2 (pour Mac OS 10.6) | |
15 --------------------------------- | |
16 | |
17 Le build 64bit ne fonctionne pas a cause de Google Log. Il faut preciser l'architecture : | |
18 | |
19 xcodebuild -arch i386 | |
20 xcodebuild -arch i386 -configuration Release | |
21 | |
22 | |
23 | |
24 Xcode | |
25 ===== | |
26 | |
27 Versions + SDK : http://en.wikipedia.org/wiki/Xcode | |
28 | |
29 http://stackoverflow.com/questions/6783308/adding-older-ios-sdks-to-xcode-4-1-in-lion | |
30 | |
31 Vieilles versions de Xcode : | |
32 https://developer.apple.com/downloads/index.action?name=Xcode | |
33 | |
34 => 7z x ../xcode_4.3.3_for_lion.dmg && sudo mount -o loop -t hfsplus ./5.hfs /mnt/ | |
35 Archiver /mnt/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs (10.6 et 10.7) | |
36 | |
37 => 7z x ../xcode_3.2.6_and_ios_sdk_4.3.dmg && sudo mount -o loop -t hfsplus ./5.hfs /mnt/ | |
38 | |
39 | |
40 # cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ | |
41 # sudo tar xvfz ~/MacSDK-10.6-10.7.tar.gz | |
42 | |
43 | |
44 | |
45 https://gist.github.com/markrickert/7459455 | |
46 | |
47 https://groups.google.com/forum/#!topic/rubymotion/c7UG95FsZWo : "You | |
48 can compile to 10.6 if you have the proper SDK installed. Xcode 5 only | |
49 allows you to install 10.7+. I'd advise sticking with 10.8+ for Mac | |
50 and 6+ for iOS unless you have specific business reasons. Now that | |
51 Mavericks is free, people have no barrier to update." | |
52 | |
53 | |
54 | |
55 Outils | |
56 ====== | |
57 | |
58 http://macdependency.googlecode.com/ => correspond a DependencyWalker |