summaryrefslogtreecommitdiffhomepage
path: root/src/CompilerKit/ck-posix-san.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/CompilerKit/ck-posix-san.json')
-rw-r--r--src/CompilerKit/ck-posix-san.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/CompilerKit/ck-posix-san.json b/src/CompilerKit/ck-posix-san.json
new file mode 100644
index 0000000..b974fb9
--- /dev/null
+++ b/src/CompilerKit/ck-posix-san.json
@@ -0,0 +1,31 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": [
+ "../../include/CompilerKit",
+ "../../include/",
+ "../../include/CompilerKit/src/",
+ "../../include/CompilerKit/src/impl",
+ "/opt/homebrew/Cellar/boost/1.90.0/include"
+ ],
+ "sources_path": [
+ "src/*.cpp",
+ "src/*/*.cpp"
+ ],
+ "output_name": "/usr/lib/libCompilerKit.san.so",
+ "compiler_flags": [
+ "-fPIC",
+ "-shared",
+ "-fstack-protector-all",
+ "-fno-omit-frame-pointer",
+ "-g",
+ "-fsanitize=address",
+ "-fsanitize=undefined"
+ ],
+ "cpp_macros": [
+ "__NECTAR__=202505",
+ "CK_USE_STRUCTS=1",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ],
+ "description": "CompilerKit for OSX, with Asan/Ubsan. CK is the framework behind Nectar."
+}