File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,15 @@ include(ProcessConfigurations)
235235include (TryAppendCXXFlags)
236236include (TryAppendLinkerFlag)
237237
238+ # Redefine/adjust per-configuration flags.
239+ target_compile_definitions (core_interface_debug INTERFACE
240+ DEBUG
241+ DEBUG_LOCKORDER
242+ DEBUG_LOCKCONTENTION
243+ RPC_DOC_CHECK
244+ ABORT_ON_FAILED_ASSUME
245+ )
246+
238247if (WIN32 )
239248 #[=[
240249 This build system supports two ways to build binaries for Windows.
Original file line number Diff line number Diff line change @@ -119,14 +119,6 @@ endfunction()
119119
120120set_default_config(RelWithDebInfo)
121121
122- # Redefine/adjust per-configuration flags.
123- target_compile_definitions (core_interface_debug INTERFACE
124- DEBUG
125- DEBUG_LOCKORDER
126- DEBUG_LOCKCONTENTION
127- RPC_DOC_CHECK
128- ABORT_ON_FAILED_ASSUME
129- )
130122# We leave assertions on.
131123if (MSVC )
132124 remove_cxx_flag_from_all_configs(/DNDEBUG)
You can’t perform that action at this time.
0 commit comments