view Resources/Samples/OrthancCppClientStandalone/Basic/Build.sh @ 579:714cf0e144cb laaw

fix path
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Sep 2013 17:39:22 +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