aboutsummaryrefslogtreecommitdiff
path: root/NvBlast/generate_projects_linux.sh
diff options
context:
space:
mode:
authorAnton Novoselov <[email protected]>2017-02-22 12:46:07 +0300
committerAnton Novoselov <[email protected]>2017-02-22 12:46:07 +0300
commit4b73d135e9fd4cac2b4425e022e6c02d793e8a6f (patch)
treecf53cb4af12a0d138db1ad6d0ec831fff0b7730b /NvBlast/generate_projects_linux.sh
parentfirst commit (diff)
downloadblast-4b73d135e9fd4cac2b4425e022e6c02d793e8a6f.tar.xz
blast-4b73d135e9fd4cac2b4425e022e6c02d793e8a6f.zip
adding linux source
Diffstat (limited to 'NvBlast/generate_projects_linux.sh')
-rwxr-xr-xNvBlast/generate_projects_linux.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/NvBlast/generate_projects_linux.sh b/NvBlast/generate_projects_linux.sh
new file mode 100755
index 0000000..362cb11
--- /dev/null
+++ b/NvBlast/generate_projects_linux.sh
@@ -0,0 +1,11 @@
+#!/bin/sh +x
+
+# Set the blast root to the current directory
+SCRIPT=$(readlink -f "$0")
+export BLAST_ROOT_DIR=$(dirname $SCRIPT)
+echo $BLAST_ROOT_DIR
+
+# Run packman to ensure dependencies are present and run cmake generation script afterwards
+echo "Running packman in preparation for cmake ..."
+
+$BLAST_ROOT_DIR"/buildtools/packman/linux/packman" $PM_OPTIONS_EXT pull $BLAST_ROOT_DIR"/dependencies.xml" --platform linux --postscript $BLAST_ROOT_DIR"/buildtools/cmake_projects_linux.sh"