Co-authored-by: sigonasr2 <sigonasr2@gmail.com>master
parent
18cef22cb0
commit
c93cefbe9d
@ -0,0 +1,7 @@ |
||||
#Compiles the entire program with debug flags then runs it in gdb. |
||||
#C++ |
||||
printf "Running program...\n\n\n" |
||||
if g++ $(find . -type f -name "*.cpp") -g ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then |
||||
gdb ./${PROJECT_NAME} "$@" |
||||
fi |
||||
printf "\n\n" |
Binary file not shown.
@ -1,9 +1,9 @@ |
||||
export AUTO_UPDATE=false |
||||
export AUTO_UPDATE=true |
||||
|
||||
source utils/define.sh |
||||
|
||||
define PROJECT_NAME "C++ProjectTemplate" |
||||
define CUSTOM_PARAMS "-g -std=c++17 -lX11 -lGL -lpthread -lpng -lstdc++fs -lpulse -lpulse-simple" |
||||
define CUSTOM_PARAMS "-std=c++17 -lX11 -lGL -lpthread -lpng -lstdc++fs -lpulse -lpulse-simple" |
||||
define LANGUAGE "C++" |
||||
|
||||
source utils/main.sh |
||||
|
Loading…
Reference in new issue