Hello, I have a build.zig for my C/C++ project that worked perfectly in the nightly 0.11.0 that I was using, but I tried upgrading to a nightly for 0.14.0 and I'm getting errors, specifically with my use of defineCMacro:
const exe = b.addExecutable(.{
.name = "chron4",
.target = target,
.optimize = optimize,
});
if(deploy){
exe.defineCMacro("DEPLOY_BUILD", null);
}
This line was to add a preprocessor macro for handling deploy features in the C and it worked just fine before but no longer, now I get
C:\dev\chron4\build.zig:39:12: error: no field or member function named 'defineCMacro' in 'Build.Step.Compile'
Is ther another way I can pass along this option to the binary?