From cbf4c11210eb8f13f2c85f3252ef72c07ca47dc3 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Mon, 27 Nov 2017 17:16:22 +0100 Subject: [PATCH] #3154 creaToolsTools Feature New Normal - branch mxecc --- Linux-mxe/compile-cretools.sh | 8 ++++++++ Linux-mxe/scripts/cloneGit.sh | 8 ++++++++ Linux-mxe/scripts/compile_crea.sh | 15 +++++++++++++++ Linux-mxe/scripts/config.sh | 5 +++++ 4 files changed, 36 insertions(+) create mode 100644 Linux-mxe/compile-cretools.sh create mode 100644 Linux-mxe/scripts/cloneGit.sh create mode 100644 Linux-mxe/scripts/compile_crea.sh create mode 100644 Linux-mxe/scripts/config.sh diff --git a/Linux-mxe/compile-cretools.sh b/Linux-mxe/compile-cretools.sh new file mode 100644 index 0000000..3237858 --- /dev/null +++ b/Linux-mxe/compile-cretools.sh @@ -0,0 +1,8 @@ +baseDir="$(pwd)" + +cd scripts +source config.sh +##source cloneGit.sh +mkdir $creatoolsBin +source compile_crea.sh +cd $baseDir diff --git a/Linux-mxe/scripts/cloneGit.sh b/Linux-mxe/scripts/cloneGit.sh new file mode 100644 index 0000000..a5d33a8 --- /dev/null +++ b/Linux-mxe/scripts/cloneGit.sh @@ -0,0 +1,8 @@ +mkdir $creatoolsSource +cd $creatoolsSource +rm -rf crea bbtk +ssh-add +git clone ssh://gitolite@git.creatis.insa-lyon.fr/crea +git clone ssh://gitolite@git.creatis.insa-lyon.fr/bbtk +cd $baseDir/scripts + diff --git a/Linux-mxe/scripts/compile_crea.sh b/Linux-mxe/scripts/compile_crea.sh new file mode 100644 index 0000000..171ba48 --- /dev/null +++ b/Linux-mxe/scripts/compile_crea.sh @@ -0,0 +1,15 @@ + +module=crea +moduleBin=creaBin + +cd $creatoolsBin +rm -rf $moduleBin +mkdir $moduleBin +cd $moduleBin +$cmakeVar $creatoolsSource/$module +$cmakeVar -D CREA_BUILD_VTK:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt +$cmakeVar CMakeCache.txt +$cmakeVar CMakeCache.txt +make -j5 +cd $baseDir/scripts + diff --git a/Linux-mxe/scripts/config.sh b/Linux-mxe/scripts/config.sh new file mode 100644 index 0000000..0512b23 --- /dev/null +++ b/Linux-mxe/scripts/config.sh @@ -0,0 +1,5 @@ +creatoolsSource=/tmpEED/creaTools-mxe/cs +creatoolsInstall=/tmpEED/creaTools-mxe/ci +creatoolsBin=/tmpEED/creaTools-mxe/cb +cmakeVar=/tmpEED/creaTools-mxe/mxe/usr/bin/x86_64-w64-mingw32.shared-cmake + -- 2.47.1