docs/src/ch03-00-building-and-compilation.md
This chapter explains the various steps needed to build espanso.
At the time of writing, cross-compilation is not guaranteed to be supported. In other words, if you wish to build the exe files for Windows, you must do this on a PC running Windows. For Windows, this means WSL cannot be used to compile Espanso.
These are the basic tools required to build espanso:
xcode-select —install and following the
instructions.sudo apt install build-essentialAfter installing the prerequisites, the following chapters (Linux, macOS and Windows) will guide you on how to install the app with the command line.
Espanso offers a few flags that might be necessary if you want to further tune the resulting binary.
Espanso includes a component known as modulo, which handles most of the graphical-related parts of the tool. For example, the Search bar or Forms are handled by it.
If you don't want them, you can build without the modulo feature flag to remove support for it.
Keep in mind that espanso was designed with modulo as a first class citizen, so the experience might be far from perfect without it.