Repository to hold all scripts used for building and deploying projects of all required programming languages. Scripts should be self-updating.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#Creates a release build that focuses on high runtime performance.
|
|
|
|
#C++
|
|
|
|
printf "Running program...\n\n\n"
|
|
|
|
output=$(dpkg -l | grep libx11-dev)
|
|
|
|
if [[ -z $output ]]
|
|
|
|
then
|
|
|
|
sudo apt install libx11-dev libpulse-dev mesa-common-dev libpng-dev
|
|
|
|
fi
|
|
|
|
if g++ $(find . -type f -name "*.cpp" -not -path "./test/*") ${CUSTOM_PARAMS} -O3 -s -DNDEBUG -o ${PROJECT_NAME}; then
|
|
|
|
./${PROJECT_NAME} "$@"
|
|
|
|
fi
|
|
|
|
printf "\n\n"
|