aboutsummaryrefslogtreecommitdiff
path: root/src/zig_clang.cpp
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-03-21 10:56:41 +0100
committerAndrew Kelley <andrew@ziglang.org>2021-03-21 18:03:55 -0700
commitba8ac46e1f75212c823568a2e121097bd0bafc5b (patch)
treeecbe81f2a06c725b90b972db20b3b4300e603cce /src/zig_clang.cpp
parent5e40560367bb2e591c5275d211d661e1aa1eef03 (diff)
downloadzig-ba8ac46e1f75212c823568a2e121097bd0bafc5b.tar.gz
zig-ba8ac46e1f75212c823568a2e121097bd0bafc5b.zip
stage1: add cmake flag for enabling logging
Now that we ship our own linker for MachO by default in both stage1 and stage2, we need a way to enable logs for verbose debugging. This commit adds `ZIG_ENABLE_LOGGING` cmake option which is equivalent to stage2's `-Dlog` flag. To enable it when building stage1 with cmake, add: ``` cmake .. -DZIG_ENABLE_LOGGING=on ```
Diffstat (limited to 'src/zig_clang.cpp')
0 files changed, 0 insertions, 0 deletions