File size: 324 Bytes
3bbb319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# Configure the project

BASEDIR=$(dirname $0)
source $BASEDIR/defaults.sh

echo "WITH_CMAKE = ${WITH_CMAKE}."
if [[ $WITH_CMAKE == true ]] ; then
  echo "Running CMake configuration..."
  source $BASEDIR/configure_cmake.sh
else
  echo "Running Makefile configuration..."
  source $BASEDIR/configure_make.sh
fi