Mercurial > hg > orthanc-stone
view Resources/CodeGeneration/testCppHandler/README.md @ 640:e706188d6078
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 10 May 2019 10:57:21 +0200 |
parents | fc17251477d6 |
children | 0d42bda615a8 |
line wrap: on
line source
Requirements ============== - Install Python 3.x (tested with 3.7) - Install conan with `pip install conan` (tested with 1.12.2) - Install CMake (tested with 3.12) - Under Windows: Visual Studio 2017 - Under *nix*: Ninja How to build under *nix* =============================== - Navigate to `testCppHandler` folder - `conan install . -g cmake` - `mkdir build` - `cd build` - `cmake -G "Ninja" ..` - `cmake --build . --config Debug` or - `cmake --build . --config Release` How to build under Windows with Visual Studio ============================================== - Navigate to repo root - `mkdir build` - `cd build` - `conan install .. -g cmake_multi -s build_type=Release` - `conan install .. -g cmake_multi -s build_type=Debug` - `cmake -G "Visual Studio 15 2017 Win64" ..` (modify for your current Visual Studio version) - `cmake --build . --config Debug` or - `cmake --build . --config Release`