12 lines
452 B
Shell
Executable file
12 lines
452 B
Shell
Executable file
#!/bin/bash
|
|
|
|
if [ "${1,,}" == "static" ]; then
|
|
echo "Release + Static"
|
|
time g++ -Wall -Werror -O3 -flto -fomit-frame-pointer -static -std=c++23 cli-flag-collection.cpp -o cfc-cli-static-out
|
|
elif [ "${1,,}" == "release" ]; then
|
|
echo "Release"
|
|
time g++ -Wall -Werror -O3 -flto -fomit-frame-pointer -std=c++23 cli-flag-collection.cpp -o cfc-cli-release-out
|
|
else
|
|
echo "Dynamic-dev"
|
|
time g++ -Wall -std=c++23 cli-flag-collection.cpp -o cfc-cli-out
|
|
fi
|