For most users, the pre-built "Spirits" (binaries) are the easiest way to summon the Witch. However, for those who wish to go into the forge and build the program from source, a few rituals must be observed.
Official binaries for the "Big 3" operating systems (Windows, macOS, and Linux) can be found at the following location:
To compile the source code yourself, you will need the Lazarus IDE (Version 4.0 or higher) and the Free Pascal (FPC) compiler. Information regarding necessary frameworks (such as the MPLA Framework) and other dependencies can be found in the project's README.
Currently, the "Master" version of the source is forged on macOS. This environment utilizes automated scripts that handle the project's complex resource needs and dynamically create essential build files:
icons.pp, version.pp, and version.def..lrs).While initial resource generation requires the macOS environment, the resulting source code is truly cross-platform. Once those dynamic units and resource files are generated, the project can be opened in Lazarus on Windows or Linux and compiled immediately.
Note: For stable Alpha and Beta releases, these generated files are typically included in the repository to allow for immediate compilation on any platform without needing the macOS-specific scripts.
The Witch's source code is hosted on GitHub. You can clone the repository or browse the code at the following link:
git clone https://github.com/shidel/CPWitch.git