Files
tft/build_debug.sh
T
2023-02-14 22:18:16 +02:00

22 lines
363 B
Bash
Executable File

#!/bin/sh
mkdir -p bin/debug
language='
-std=c++17
-fno-rtti
-fno-exceptions
-fno-non-call-exceptions
-fno-common'
# force each global variable to be only defined once
warnings='
-Wall
-Wextra
-Wpedantic
-Wmultiple-inheritance
-Wvirtual-inheritance' #-fanalyzer
g++ -o bin/debug/famt $language -g -O0 -march=native $warnings -pipe *.cpp -lncursesw