Small fixes

Updated CMakeLists.txt
Updated README.md
Updated bin/gdpm-test.sh
Changed some constants defined in constants.hpp
Added GDPM_TIMESTAMP_FORMAT configurable macro
This commit is contained in:
David Allen 2022-01-03 09:23:58 -06:00
parent 1893c7c36b
commit 2b250d9a2d
11 changed files with 288 additions and 120 deletions

View file

@ -24,14 +24,15 @@ src = [
'src/http.cpp',
'src/cache.cpp'
]
# cpp = meson.get_compiler('cpp')
# cpp.find_library()
cpp_args = [
'-Ofast',
# '-fPIC',
# '-fPIE',
# '-fconcepts',
# '-fsanitize=address',
# '-lcurl',
# '-lzip'
'-fpermissive',
'-Wall',
'-Wno-switch',
@ -39,12 +40,11 @@ cpp_args = [
'-Wno-sign-conversion',
'-Wno-unused-function',
'-pedantic-errors',
# '-lcurl',
# '-lzip'
'-DGDPM_LOG_LEVEL=2',
'-DGDPM_REQUEST_DELAY=200ms',
'-DGDPM_ENABLE_COLORS=1',
'-DGDPM_ENABLE_TIMESTAMPS=1',
'-DGDPM_TIMESTAMP_FORMAT=":%I:%M:%S %p; %Y-%m-%d"'
]
lib = shared_library(
meson.project_name(),