Mercurial > hg > orthanc
comparison DarwinCompilation.txt @ 4092:fb64d481940a
making the "framework" branch the new "default"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2020 15:53:17 +0200 |
parents | 19a2f1d2b816 |
children |
comparison
equal
deleted
inserted
replaced
4089:a2060a76ed6a | 4092:fb64d481940a |
---|---|
19 | 19 |
20 2) CMake must be installed (http://www.cmake.org/). | 20 2) CMake must be installed (http://www.cmake.org/). |
21 | 21 |
22 3) It is assumed that Orthanc source code is placed in the folder | 22 3) It is assumed that Orthanc source code is placed in the folder |
23 "~/Orthanc" and that the binaries will be compiled to | 23 "~/Orthanc" and that the binaries will be compiled to |
24 "~/OrthancBuild". | 24 "~/Orthanc/Build". |
25 | 25 |
26 | 26 |
27 Prepare the build with CMake | 27 Prepare the build with CMake |
28 ---------------------------- | 28 ---------------------------- |
29 | 29 |
30 # cd ~/OrthancBuild | 30 # cd ./Build |
31 # cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON ~/Orthanc | 31 # cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON ../OrthancServer |
32 | 32 |
33 NB: Adapt the value of "CMAKE_OSX_DEPLOYMENT_TARGET" with respect to | 33 NB: Adapt the value of "CMAKE_OSX_DEPLOYMENT_TARGET" with respect to |
34 your version of OS X. This version can obtained by typing: | 34 your version of OS X. This version can obtained by typing: |
35 | 35 |
36 # sw_vers | 36 # sw_vers |
40 ---------------------------------- | 40 ---------------------------------- |
41 | 41 |
42 # xcodebuild | 42 # xcodebuild |
43 # ./Debug/UnitTests | 43 # ./Debug/UnitTests |
44 | 44 |
45 The binaries of Orthanc are located at "~/OrthancBuild/Debug/Orthanc". | 45 The binaries of Orthanc are located at "~/Orthanc/Build/Debug/Orthanc". |
46 | 46 |
47 | 47 |
48 Build the Release version of Orthanc | 48 Build the Release version of Orthanc |
49 ------------------------------------ | 49 ------------------------------------ |
50 | 50 |
51 # xcodebuild -configuration Release | 51 # xcodebuild -configuration Release |
52 # ./Release/UnitTests | 52 # ./Release/UnitTests |
53 | 53 |
54 The binaries of Orthanc are located at "~/OrthancBuild/Release/Orthanc". | 54 The binaries of Orthanc are located at "~/Orthanc/Build/Release/Orthanc". |