XCode: Use address sanitizer in debug builds
This commit is contained in:
parent
9bc92e657b
commit
60d543cf3b
1 changed files with 12 additions and 0 deletions
|
@ -5922,6 +5922,10 @@
|
|||
"\"$(SRCROOT)/lib\"",
|
||||
);
|
||||
MACH_O_TYPE = mh_execute;
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fsanitize=address",
|
||||
);
|
||||
PRODUCT_NAME = unit_tests;
|
||||
};
|
||||
name = Debug;
|
||||
|
@ -5964,6 +5968,10 @@
|
|||
"\"$(SRCROOT)/lib\"",
|
||||
"$(PROJECT_DIR)/lib",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fsanitize=address",
|
||||
);
|
||||
PRODUCT_NAME = wesnothd;
|
||||
};
|
||||
name = Debug;
|
||||
|
@ -6008,6 +6016,10 @@
|
|||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/lib",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fsanitize=address",
|
||||
);
|
||||
OTHER_LDFLAGS = (
|
||||
"-lz",
|
||||
"-lbz2",
|
||||
|
|
Loading…
Add table
Reference in a new issue