Test Example for the olcPixelGameEngine working on Linux and compiled with my template.
 
 
 
pixelGameEngineExample/C++/scripts/build.sh

7 lines
230 B

#Compiles the entire program then runs it, producing an executable.
#C
printf "Running program...\n\n\n"
if g++ $(find . -type f -name "*.cpp") ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
./${PROJECT_NAME} "$@"
fi
printf "\n\n"