Skip to content

Build your own Toolchain

Maeiky edited this page Jan 21, 2021 · 9 revisions

First, when you set the variable {_wToolchain} in a .cwMake or .cwc file, Cwc will check for existence of the toolchain

_wToolchain : ([Server]/Author/Name[Type]/[Version])

Example:

-#Run Build.cwc -{_wToolchain}= VLianceTool/LibRT

This will check for existence of the C++ back-end compiler LibRT in your Toolchain folder, then if is not there, it will be automatically downloaded from Github (default server).

When the toolchain is correctly set-up, Cwc will search for is config file, this is where the data and specific compiler instructions are. This file is under the '.cwfg' extention, it can be put directly in the root folder of the toolchain, or in any sub-folder (in this case, it must be under a folder named 'cwc').

Config file (.cwfg)

Clone this wiki locally