A minimal zigcc project template
Simply click the button below to get started:
To setup and use the project you will need to have the following tools installed:
Clone the repository
$ git clone https://github.com/xmake-examples/zigcc-scaffold.git
Change the working directory to the newly cloned repository:
$ cd zigcc-scaffold
Run xmake to install the dependencies & build the project:
$ xmake
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> zig 0.10.0
please input: y (y/n/m)
=> install zig 0.10.1 .. ok
[ 25%]: ccache compiling.release src/main.cpp
[ 50%]: linking.release zigcc-scaffold
[100%]: build ok!
Run the project after it has been built:
$ xmake run