diff options
| author | Bryan Galdrikian <[email protected]> | 2017-02-24 12:00:12 -0800 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-02-24 12:00:12 -0800 |
| commit | 29db152546cfad9e27d4bd0eb18bda456fab1647 (patch) | |
| tree | a931e92121f295c186a31649a8ba70919a18bdae /generate_projects_linux.sh | |
| parent | Updating README.md to reflect linux addition (diff) | |
| parent | adding linux support (diff) | |
| download | blast-29db152546cfad9e27d4bd0eb18bda456fab1647.tar.xz blast-29db152546cfad9e27d4bd0eb18bda456fab1647.zip | |
Merge branch 'master' of https://github.com/NVIDIAGameWorks/Blast
Diffstat (limited to 'generate_projects_linux.sh')
| -rwxr-xr-x | generate_projects_linux.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/generate_projects_linux.sh b/generate_projects_linux.sh new file mode 100755 index 0000000..362cb11 --- /dev/null +++ b/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" |