Disable console output from restc-cpp

This commit is contained in:
King_DuckZ 2020-08-09 22:55:25 +01:00
parent 8fa434e76e
commit f2b8abf82b
3 changed files with 11 additions and 7 deletions

View file

@ -2,6 +2,7 @@ restc_cpp_dep = dependency('restc-cpp', version: '>=0.1.1',
fallback: ['restc-cpp', 'restc_cpp_dep'], fallback: ['restc-cpp', 'restc_cpp_dep'],
default_options: [ default_options: [
'restc_cpp_with_unit_tests=false', 'restc_cpp_with_unit_tests=false',
'restc_cpp_log_with_boost_log=false',
], ],
) )

View file

@ -10,13 +10,16 @@ if get_option('restc_cpp_with_zlib')
endif endif
compiler_opts = ['-DBOOST_COROUTINE_NO_DEPRECATION_WARNING=1'] compiler_opts = ['-DBOOST_COROUTINE_NO_DEPRECATION_WARNING=1']
boost_modules = [
'system', 'program_options', 'filesystem', 'date_time',
'context', 'coroutine', 'chrono'
]
if get_option('restc_cpp_log_with_boost_log')
boost_modules += ['log']
endif
thread_dep = dependency('threads') thread_dep = dependency('threads')
boost_dep = dependency('boost', boost_dep = dependency('boost', modules: boost_modules)
modules: [
'system', 'program_options', 'filesystem', 'date_time',
'context', 'coroutine', 'chrono', 'log'
]
)
rapidjson_dep = dependency('RapidJSON') rapidjson_dep = dependency('RapidJSON')
if not get_option('embedded_restc_cpp') if not get_option('embedded_restc_cpp')

@ -1 +1 @@
Subproject commit c2b893a3979c92ab94137203294badc1c26513cd Subproject commit 533eb5155bd185fd726e5bd1e61ef9a209f49497