1. bin/configure to run CMake configuration 2. bin/build to run CMake build generator 3. bin/install to run CMake 'install/strip' target 4. bin/pack to run CMake 'package" target 5. bin/clean to completely clean 'build' folder
9 lines
303 B
Bash
Executable File
9 lines
303 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
BIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Get directory of this file
|
|
PROJECT_DIR=$(dirname $BIN_DIR) # Get root directory of project
|
|
source $BIN_DIR/common/setup $1
|
|
|
|
cd $BUILD_DIR
|
|
cmake --build . --target package "${@:2}"
|