aboutsummaryrefslogtreecommitdiff
path: root/generate_projects_linux.sh
blob: 84bc7437a46eab710fc916ac201d64bf029683a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash +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 last
echo "Getting build platform dependencies for Linux ..."
source $BLAST_ROOT_DIR"/buildtools/packman/packman" pull $BLAST_ROOT_DIR"/buildtools/build_platform_deps.xml" --platform linux

echo "Getting target platform dependencies for Linux ..."
source $BLAST_ROOT_DIR"/buildtools/packman/packman" pull $BLAST_ROOT_DIR"/target_platform_deps.xml" --platform linux --postscript $BLAST_ROOT_DIR"/buildtools/cmake_projects_linux.sh"