mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-19 19:17:01 -07:00
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:
parent
1893c7c36b
commit
2b250d9a2d
11 changed files with 288 additions and 120 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue