File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,9 +55,13 @@ if(WITH_WARNINGS)
5555 message (STATUS "Clang: All warnings enabled" )
5656endif ()
5757
58- target_compile_options (trinity-compile-option-interface
59- INTERFACE
60- $<$<OR :$<CONFIG :Debug ,RelWithDebInfo >,$<BOOL :${WITH_COREDEBUG} >>:-g3 -glldb >)
58+ if (WITH_COREDEBUG)
59+ target_compile_options (trinity-compile-option-interface
60+ INTERFACE
61+ -g3 -glldb )
62+
63+ message (STATUS "Clang: Debug-flags set (-g3 -glldb)" )
64+ endif ()
6165
6266if (ASAN)
6367 target_compile_options (trinity-compile-option-interface
Original file line number Diff line number Diff line change @@ -41,9 +41,13 @@ if(WITH_WARNINGS)
4141 message (STATUS "GCC: All warnings enabled" )
4242endif ()
4343
44- target_compile_options (trinity-compile-option-interface
45- INTERFACE
46- $<$<OR :$<CONFIG :Debug ,RelWithDebInfo >,$<BOOL :${WITH_COREDEBUG} >>:-ggdb3 >)
44+ if (WITH_COREDEBUG)
45+ target_compile_options (trinity-compile-option-interface
46+ INTERFACE
47+ -ggdb3 )
48+
49+ message (STATUS "GCC: Debug-flags set (-ggdb3)" )
50+ endif ()
4751
4852if (ASAN)
4953 target_compile_options (trinity-compile-option-interface
You can’t perform that action at this time.
0 commit comments