Mercurial > hg > orthanc-webviewer
view Resources/BuildInstructions.txt @ 26:a6492d20b2a8
modularization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Jun 2015 11:40:05 +0200 |
parents | 02f7a0400a91 |
children | 7c6cf09d838b |
line wrap: on
line source
Generic Linux (static linking) ============================== # mkdir Build # cd Build # cmake .. -DCMAKE_BUILD_TYPE=Debug -DALLOW_DOWNLOADS=ON -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 # make Cross-compiling for Windows from Linux using MinGW ================================================== # mkdir Build # cd Build # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=../Resources/MinGWToolchain.cmake # make