Skip to content

Commit 1bd5585

Browse files
committed
use TSK_TRACE_ERRORS in DEBUG in Xcode
1 parent 621606a commit 1bd5585

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

SLiM.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5322,6 +5322,11 @@
53225322
CLANG_ENABLE_OBJC_WEAK = YES;
53235323
CODE_SIGN_IDENTITY = "-";
53245324
ENABLE_HARDENED_RUNTIME = YES;
5325+
GCC_PREPROCESSOR_DEFINITIONS = (
5326+
"DEBUG=1",
5327+
TSK_TRACE_ERRORS,
5328+
"$(inherited)",
5329+
);
53255330
LIBRARY_SEARCH_PATHS = "$(inherited)";
53265331
PRODUCT_NAME = slim;
53275332
SYSTEM_HEADER_SEARCH_PATHS = "\"${SRCROOT}\"/treerec/ \"${SRCROOT}\"/treerec/tskit/kastore/";
@@ -5570,6 +5575,7 @@
55705575
"$(inherited)",
55715576
"SLIMGUI=1",
55725577
EIDOS_GUI,
5578+
TSK_TRACE_ERRORS,
55735579
);
55745580
GCC_WARN_UNUSED_PARAMETER = NO;
55755581
GCC_WARN_UNUSED_VALUE = NO;

VERSIONS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ development head (in the master branch):
1111
add [string$ sex = "*"] parameter to initializeRecombinationRateFromFile(), passed through to initializeRecombinationRate(); fixing an oversight (#524)
1212
write "chromosomes" and "this_chromosome" keys out to provenance as well as metadata (#520)
1313
fix an annoying autoindent cursor position bug that I suspect is a Qt 6 regression in QPlainTextEdit
14+
add a define of TSK_TRACE_ERRORS in Xcode for slim and SLiMguiLegacy, in DEBUG only, for easier tskit debugging; break on _tsk_trace_error()
1415

1516

1617
version 5.0 (Eidos version 4.0):

0 commit comments

Comments
 (0)