tft create user tree

This commit is contained in:
vrd
2023-02-18 19:04:39 +02:00
parent 4e3816ae15
commit 16894e2983
13 changed files with 46 additions and 11 deletions
Executable
+37
View File
@@ -0,0 +1,37 @@
#!/bin/sh
set -e
cd src
# mkdir -p bin/release
language='
-std=c++17
-fno-rtti
-fno-exceptions
-fno-non-call-exceptions
-fno-common'
# force each global variable to be only defined once
optimizations='
-Ofast
-flto
-fipa-pta
-fallow-store-data-races
-fgcse-sm
-fgcse-las
-march=native'
warnings='
-Wall
-Wextra
-Wpedantic
-Wmultiple-inheritance
-Wvirtual-inheritance' #-fanalyzer
other='-fno-fat-lto-objects'
g++ -o tft $language $optimizations $warnings $other -DNDEBUG -pipe -s *.cpp -lncursesw
chmod 775 tft
exec mv tft /usr/local/bin
#-static -lncursesw -ltinfo