Mercurial > hg > orthanc-webviewer
view Resources/BuildInstructions.txt @ 177:8d1b1dc6150b
upgrade to GDCM 2.8.4 for static builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Jan 2018 09:21:52 +0100 |
parents | dd1ad819ca33 |
children | 6547e6941b15 |
line wrap: on
line source
Generic GNU/Linux (static linking) ================================== # mkdir Build # cd Build # cmake .. -DCMAKE_BUILD_TYPE=Debug -DSTATIC_BUILD=ON # make Debian Sid (dynamic linking) ============================ # sudo apt-get install build-essential unzip cmake libgdcm2-dev libjpeg-dev \ uuid-dev libgtest-dev libpng-dev libsqlite3-dev \ zlib1g-dev libboost-all-dev libjsoncpp-dev # mkdir Build # cd Build # cmake .. -DCMAKE_BUILD_TYPE=Debug -DALLOW_DOWNLOADS=ON -DUSE_SYSTEM_GOOGLE_TEST=OFF -DSTANDALONE_BUILD=ON -DUSE_SYSTEM_ORTHANC_SDK=OFF # make Cross-compiling for Windows from GNU/Linux using MinGW ====================================================== # mkdir Build # cd Build # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=`pwd`/../Orthanc/Resources/MinGWToolchain.cmake # make