Files
tft/build_debug.sh
T
2023-05-03 16:59:25 +03:00

19 lines
319 B
Bash
Executable File

#!/bin/sh
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
-Wno-implicit-fallthrough
-Wno-multichar'
cd src
g++ -o ../tft_debug $language -g -O0 -march=native $warnings -pipe *.cpp -lncursesw