view Resources/Samples/OrthancCppClientStandalone/Basic/Build.sh @ 573:8fb9867d8089 laaw

documentation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 26 Sep 2013 17:52:11 +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