9 lines
247 B
Bash
Executable File
9 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
|
|
GENERATOR=make
|
|
[ -x "$(command -v ninja)" ] && GENERATOR=Ninja
|
|
PROJECT=$(grep -i "^Project" "$(dirname -- "$(dirname -- "$(pwd)")")/CMakeLists.txt" | awk -F'[()]' '{print $2}')
|
|
|
|
"$(dirname $0)/cmake.sh" -g "${GENERATOR}" -f -t Debug
|
|
|