File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,15 @@ function(wndx_sane_memcheck) ## args
186186 wndx_sane_env_set(LIST list_def_env DEF_VAL 1 ENV_VAR MallocScribble)
187187 wndx_sane_env_set(LIST list_def_env DEF_VAL 1 ENV_VAR MallocStackLogging)
188188 wndx_sane_env_set(LIST list_def_env DEF_VAL 1 ENV_VAR MallocStackLoggingNoCompact)
189+ # add_custom_target(${arg_TGT_NAME}
190+ # COMMAND export ${list_def_env}
191+ # && ${LEAKS_COMMAND} ${arg_LEAKS_OPTS} -atExit
192+ # -- $<TARGET_FILE:${tgt_exec}> ${tgt_opts}
193+ # ${CUSTOM_TARGET_OPTS}
194+ # )
189195 add_custom_target (${arg_TGT_NAME}
190196 COMMAND export ${list_def_env}
191- && exec ${LEAKS_COMMAND} ${arg_LEAKS_OPTS} -atExit
197+ && setsid ${LEAKS_COMMAND} ${arg_LEAKS_OPTS} -atExit
192198 -- $<TARGET_FILE:${tgt_exec} > ${tgt_opts}
193199 ${CUSTOM_TARGET_OPTS}
194200 )
You can’t perform that action at this time.
0 commit comments