marler8997 / zigup

Download and manage zig compilers.
MIT No Attribution
790 stars 61 forks source link

Feature request: Create zig-cc, zig-c++ shims #116

Closed NoelJacob closed 7 months ago

NoelJacob commented 8 months ago

Add option to create shims like these on all platforms zig supports for zig drop-in features : https://github.com/ziglang/zig/issues/8716#issuecomment-1898961470

alexrp commented 7 months ago

Is this solution not good enough? https://github.com/ziglang/zig/issues/8716#issuecomment-1511711968 (should be equivalent to set(CMAKE_C_COMPILER "zig" "cc") in a toolchain file)

NoelJacob commented 7 months ago

Yeah, it's doable but it didn't work for me somewhere in CLion.