mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
KWSys 2019-11-15 (329d8c7c)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 329d8c7c907353999827c02a7af341e57aff90aa (master).
Upstream Shortlog
-----------------
Brad King (1):
2581cfd1 SystemTools: Update EnableMSVCDebugHook to simulate "Retry"
This commit is contained in:
committed by
Brad King
parent
78ce959a40
commit
9e27e52d4b
@@ -4666,8 +4666,12 @@ void SystemTools::ClassFinalize()
|
||||
# include <stdlib.h>
|
||||
namespace KWSYS_NAMESPACE {
|
||||
|
||||
static int SystemToolsDebugReport(int, char* message, int*)
|
||||
static int SystemToolsDebugReport(int, char* message, int* ret)
|
||||
{
|
||||
if (ret) {
|
||||
// Pretend user clicked on Retry button in popup.
|
||||
*ret = 1;
|
||||
}
|
||||
fprintf(stderr, "%s", message);
|
||||
fflush(stderr);
|
||||
return 1; // no further reporting required
|
||||
|
||||
Reference in New Issue
Block a user