aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-12-07 17:23:17 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-12-07 17:27:09 -0700
commit88dc688bbf10fb95c51783eca0526054d33ef5a1 (patch)
tree5d1cf8d680faa08a722037b9ece2fdd0110c06d3 /src/stage1/codegen.cpp
parent211ac00f8380629653ae475d7c347b0a67b480af (diff)
downloadzig-88dc688bbf10fb95c51783eca0526054d33ef5a1.tar.gz
zig-88dc688bbf10fb95c51783eca0526054d33ef5a1.zip
restore the option to build with cmake
restore cmake to be capable of figuring out the zig version restore config.h and config.zig. config.h is used to detect whether we should propagate cmake configuration information to build.zig; however it can be overridden with -Dstatic-llvm. fix not passing -DZIG_LINK_MODE with zig build. when using the cmake build path, build.zig no longer tries to call llvm-config. Instead it relies 100% on the LLVM_LIBRARIES cmake variable. build.zig logic reworked and simplified.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions