Disable console output from restc-cpp
This commit is contained in:
parent
8fa434e76e
commit
f2b8abf82b
3 changed files with 11 additions and 7 deletions
|
@ -2,6 +2,7 @@ restc_cpp_dep = dependency('restc-cpp', version: '>=0.1.1',
|
|||
fallback: ['restc-cpp', 'restc_cpp_dep'],
|
||||
default_options: [
|
||||
'restc_cpp_with_unit_tests=false',
|
||||
'restc_cpp_log_with_boost_log=false',
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -10,13 +10,16 @@ if get_option('restc_cpp_with_zlib')
|
|||
endif
|
||||
compiler_opts = ['-DBOOST_COROUTINE_NO_DEPRECATION_WARNING=1']
|
||||
|
||||
thread_dep = dependency('threads')
|
||||
boost_dep = dependency('boost',
|
||||
modules: [
|
||||
boost_modules = [
|
||||
'system', 'program_options', 'filesystem', 'date_time',
|
||||
'context', 'coroutine', 'chrono', 'log'
|
||||
]
|
||||
)
|
||||
'context', 'coroutine', 'chrono'
|
||||
]
|
||||
if get_option('restc_cpp_log_with_boost_log')
|
||||
boost_modules += ['log']
|
||||
endif
|
||||
|
||||
thread_dep = dependency('threads')
|
||||
boost_dep = dependency('boost', modules: boost_modules)
|
||||
rapidjson_dep = dependency('RapidJSON')
|
||||
|
||||
if not get_option('embedded_restc_cpp')
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c2b893a3979c92ab94137203294badc1c26513cd
|
||||
Subproject commit 533eb5155bd185fd726e5bd1e61ef9a209f49497
|
Loading…
Add table
Reference in a new issue