comparison Sphinx/source/faq/compiling.rst @ 41:1c8aaaea72b2

runtime assertions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Sep 2016 08:57:28 +0200
parents 669ea65ba7fb
children a52f1dc48ebc
comparison
equal deleted inserted replaced
40:99b45a963bcf 41:1c8aaaea72b2
24 The mainline of Orthanc can compile under Apple OS X, with the XCode 24 The mainline of Orthanc can compile under Apple OS X, with the XCode
25 compiler, since June 24th, 2014. See the `build instructions for 25 compiler, since June 24th, 2014. See the `build instructions for
26 Darwin 26 Darwin
27 <https://bitbucket.org/sjodogne/orthanc/src/default/DarwinCompilation.txt>`_ 27 <https://bitbucket.org/sjodogne/orthanc/src/default/DarwinCompilation.txt>`_
28 inside the source package. 28 inside the source package.
29
30 Performance warning
31 -------------------
32
33 If performance is important to you, make sure to add the option
34 ``-DCMAKE_BUILD_TYPE=Release`` when invoking ``cmake``. Indeed, by
35 default, `run-time debug assertions
36 <https://en.wikipedia.org/wiki/Assertion_(software_development)#Assertions_for_run-time_checking>`_
37 are enabled, which can seriously impact performance, especially if
38 your Orthanc server stores a lot of DICOM instances.
39
29 40
30 41
31 Please explain the build infrastructure 42 Please explain the build infrastructure
32 --------------------------------------- 43 ---------------------------------------
33 44