view OrthancCppClient/Package/Test/Basic/Build.sh @ 518:58841db7b64e laaw

mainline to laaw integration
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jul 2013 16:14:18 +0200
parents a3d9acf37161
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