Files
tft/compile.sh
T

30 lines
517 B
Bash
Executable File

#!/bin/dash
language='
-std=gnu++20
-fno-rtti
-fno-exceptions
-fno-non-call-exceptions'
optimizations='
-Ofast
-flto
-fipa-pta
-fallow-store-data-races
-fgcse-sm
-fgcse-las'
warnings='
-Wall
-Wextra
-Wpedantic
-Wmultiple-inheritance
-Wvirtual-inheritance' #-fanalyzer
# each global variable is only declared once per single object.
other='-fno-common -fno-fat-lto-objects'
g++ -o bin/release/famt $language $optimizations $warnings $other -DNDEBUG -s *.cpp -lncursesw
#-static -lncursesw -ltinfo