view Resources/Samples/OrthancCppClientStandalone/Basic/Build.sh @ 564:06119badb2b0 laaw

lsb cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 24 Sep 2013 10:43:03 +0200
parents 7f9467b5f33b
children
line wrap: on
line source

#!/bin/bash

rm -rf i w32 w64
mkdir i
mkdir w32
mkdir w64

cd i && cmake .. && cd .. && \
    cd w32 && cmake .. -DCMAKE_TOOLCHAIN_FILE=../../../../Resources/MinGWToolchain.cmake && cd .. && \
    cd w64 && cmake .. -DCMAKE_TOOLCHAIN_FILE=../../../../Resources/MinGW64Toolchain.cmake && cd ..

make -C i -j12
make -C w32 -j12
make -C w64 -j12

# nm -C -D --defined-only i/libOrthancCppClient.so