]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/creaToolsVariables.sh
New (new) way to install, all-in-one
[creaToolsTools.git] / Linux / scripts / creaToolsVariables.sh
diff --git a/Linux/scripts/creaToolsVariables.sh b/Linux/scripts/creaToolsVariables.sh
new file mode 100644 (file)
index 0000000..21dc39f
--- /dev/null
@@ -0,0 +1,12 @@
+# $1 : 'creaTools'
+# $2 : generationdir
+# $3 : ON/OFF (generate doc)
+
+binfolder=$2/creatools_bin/$1Bin
+cd $binfolder
+
+cmake -D CREATOOLS_SOURCE_PATH:PATH=$currentdir/creatools_bin/ CMakeCache.txt
+
+cmake  CMakeCache.txt
+
+cd ..