aboutsummaryrefslogtreecommitdiff
path: root/generate_projects_linux.sh
blob: ba4344cdd0c7c9f75be19aece8a459a1dfec8a38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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/packman" pull $BLAST_ROOT_DIR"/dependencies.xml" --platform linux --postscript $BLAST_ROOT_DIR"/buildtools/cmake_projects_linux.sh"