comparison README.md @ 527:b1377625e4ba bgo-commands-codegen

Removed ICommand and friends + fixed warnings + added missing header files in solution (in CMakeLists.txt file)
author Benjamin Golinvaux <bgo@osimis.io>
date Sun, 17 Mar 2019 20:14:20 +0100
parents 801d2697a1b1
children d10a295b607a
comparison
equal deleted inserted replaced
522:700aa66f2f29 527:b1377625e4ba
123 123
124 The following also assumes that you have checked out the Orthanc 124 The following also assumes that you have checked out the Orthanc
125 source code in an `orthanc` folder next to the Stone of Orthanc 125 source code in an `orthanc` folder next to the Stone of Orthanc
126 repository, please enter the following: 126 repository, please enter the following:
127 127
128 ``` 128 **Simple make generator with dynamic build**
129
130 ```
131 # Please set $currentDir to the current folder
129 mkdir -p ~/builds/orthanc-stone-build 132 mkdir -p ~/builds/orthanc-stone-build
130 cd ~/builds/orthanc-stone-build 133 cd ~/builds/orthanc-stone-build
131 cmake -DORTHANC_FRAMEWORK_SOURCE=path \ 134 cmake -DORTHANC_FRAMEWORK_SOURCE=path \
132 -DORTHANC_FRAMEWORK_ROOT=$currentDir/../../../orthanc \ 135 -DORTHANC_FRAMEWORK_ROOT=$currentDir/../../../orthanc \
133 -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON \ 136 -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON \
134 ~/orthanc-stone/Applications/Samples/ 137 ~/orthanc-stone/Applications/Samples/
135 ``` 138 ```
136 139
140 **Ninja generator with static build (typical under Windows)**
141
142 ```
143 # Please yourself one level above the orthanc-stone and orthanc folders
144 mkdir -p stone_build_sdl
145 cd stone_build_sdl
146 cmake -G Ninja -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Applications/Samples/
147 ```
148
149
137 If you are working on Windows, add the correct generator option to 150 If you are working on Windows, add the correct generator option to
138 cmake to, for instance, generate msbuild files for Visual Studio. 151 cmake to, for instance, generate msbuild files for Visual Studio.
139 152
140 Then, under Linux: 153 Then, under Linux:
141 ``` 154 ```
144 157
145 Note: replace `$($pwd)` with the current directory when not using Powershell 158 Note: replace `$($pwd)` with the current directory when not using Powershell
146 159
147 Building the Qt native samples (SimpleViewer only) under Windows: 160 Building the Qt native samples (SimpleViewer only) under Windows:
148 ------------------------------------------------------------------ 161 ------------------------------------------------------------------
162
163 **MSVC 2017 generator with static build (typical under Windows)**
164
149 For instance, if Qt is installed in `C:\Qt\5.12.0\msvc2017_64` 165 For instance, if Qt is installed in `C:\Qt\5.12.0\msvc2017_64`
150 166
151 `cmake -DSTATIC_BUILD=ON -DCMAKE_PREFIX_PATH=C:\Qt\5.12.0\msvc2017_64 -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_QT=ON -G "Visual Studio 15 2017 Win64" ../orthanc-stone/Applications/Samples/` 167 ```
168 cmake -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DCMAKE_PREFIX_PATH=C:\Qt\5.12.0\msvc2017_64 -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_QT=ON -G "Visual Studio 15 2017 Win64" ../orthanc-stone/Applications/Samples/
169 ```
152 170
153 Note: replace `$($pwd)` with the current directory when not using Powershell 171 Note: replace `$($pwd)` with the current directory when not using Powershell
154 172
155 173
156 174
194 issn="1618-727X", 212 issn="1618-727X",
195 doi="10.1007/s10278-018-0082-y", 213 doi="10.1007/s10278-018-0082-y",
196 url="https://doi.org/10.1007/s10278-018-0082-y" 214 url="https://doi.org/10.1007/s10278-018-0082-y"
197 } 215 }
198 216
217 Various notes to be deleted
218 ---------------------------
219 class BaseCommand : public ICommand
220
221 RadiographySceneCommand
222 GenericNoArgCommand