Mercurial > hg > orthanc-stone
comparison Applications/Samples/build-wasm-samples.sh @ 1589:8c5f9864545f
adding missing headers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Oct 2020 16:59:23 +0200 |
parents | d1806b4e4839 |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1588:b91ea9566d16 | 1589:8c5f9864545f |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | |
3 # Stone of Orthanc | |
4 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
5 # Department, University Hospital of Liege, Belgium | |
6 # Copyright (C) 2017-2020 Osimis S.A., Belgium | |
7 # | |
8 # This program is free software: you can redistribute it and/or | |
9 # modify it under the terms of the GNU Affero General Public License | |
10 # as published by the Free Software Foundation, either version 3 of | |
11 # the License, or (at your option) any later version. | |
12 # | |
13 # This program is distributed in the hope that it will be useful, but | |
14 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 # Affero General Public License for more details. | |
17 # | |
18 # You should have received a copy of the GNU Affero General Public License | |
19 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | |
21 | |
2 # | 22 # |
3 # usage: | 23 # usage: |
4 # to build the samples in RelWithDebInfo: | 24 # to build the samples in RelWithDebInfo: |
5 # ./build-wasm-samples.sh | 25 # ./build-wasm-samples.sh |
6 # | 26 # |
7 # to build the samples in Release: | 27 # to build the samples in Release: |
8 # ./build-wasm-samples.sh Release | 28 # ./build-wasm-samples.sh Release |
29 # | |
9 | 30 |
10 set -e | 31 set -e |
11 | 32 |
12 if [ ! -d "WebAssembly" ]; then | 33 if [ ! -d "WebAssembly" ]; then |
13 echo "This script must be run from the Samples folder one level below orthanc-stone" | 34 echo "This script must be run from the Samples folder one level below orthanc-stone" |