(winixcli): add a --sort-tables option

while here:
- add a fil_max_size filter for putting a space if the inner stream is greater than x characters
This commit is contained in:
2023-11-09 10:57:11 +01:00
parent a54d70bed4
commit d1f5d9aa88
6 changed files with 124 additions and 26 deletions

View File

@@ -12,9 +12,17 @@ ifndef CXX
CXX = g++
endif
ifndef ADDITIONAL_CXXFLAGS
ADDITIONAL_CXXFLAGS=-O2
endif
ifndef ADDITIONAL_LDFLAGS
ADDITIONAL_LDFLAGS=-s
endif
ifndef CXXFLAGS
# /usr/include/postgresql is in Linux distros (Alpine)
CXXFLAGS = -Wall -pedantic -O2 -std=c++20 \
CXXFLAGS = -Wall -pedantic -std=c++20 $(ADDITIONAL_CXXFLAGS) \
-I/usr/local/include \
-I/usr/include/postgresql \
-I$(GLOBAL_WORKING_DIR)/winix/winixcli \
@@ -25,15 +33,13 @@ CXXFLAGS = -Wall -pedantic -O2 -std=c++20 \
$(WINIX_NEEDED_MACROS)
endif
ifndef LDFLAGS
LDFLAGS = -L/usr/local/lib -s
endif
LDFLAGS = -L/usr/local/lib $(ADDITIONAL_LDFLAGS)
export CXX
export CXXFLAGS
export LDFLAGS
export GLOBAL_WORKING_DIR
export WINIX_NEEDED_MACROS