user create tree

This commit is contained in:
vrd
2023-02-14 22:18:16 +02:00
parent b28cb604a2
commit 4e3816ae15
6 changed files with 83 additions and 45 deletions
Executable
+33
View File
@@ -0,0 +1,33 @@
#!/bin/sh
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 bin/release/famt $language $optimizations $warnings $other -DNDEBUG -pipe -s *.cpp -lncursesw
#-static -lncursesw -ltinfo