ESP is available as a source code distribution. Several build environments are supported:
- Linux — Linux 4 or later with GNU C/C++
- Windows — Microsoft Windows 10 with Visual Studio 2019 or later
- Mac OS X — Mac OS X 10.10 or later
The source code has been designed to run on FreeBSD, Linux, Mac OS X, VxWorks and other operating systems.
Accessing the Source Code
With each ESP release, a complete source code snapshot is provided. You can download a source package from the ESP web site or you can retrieve it from the ESP GitHub repository. If you download from the repository, please use the master branch for the most recent stable snapshot. For less stable daily builds, use the dev branch.Download Source GitHub Repository
Building ESP from Source
The ESP source distribution contains all the required source files, headers, and test framework to reconfigure, build, and verify ESP. The software supports three methods for building from source.
Building via make is the simplest way to build. Use make if you want a default build or if you need to integrate ESP with an existing make-based build system. Build with MakeMe if you want to customize or configure the software for your system, or if you need to cross-compile for another operating system or architecture. Use the Visual Studio or Xcode if you are most comfortable with these tools and want a default build.
We use the MakeMe tool internally to generate the ESP Makefiles, MakeMe and IDE projects. This cool tool generates clean, efficient makefiles and projects. The MakeMe project documents how to use these generated Makefiles and projects as they are the same for all projects that use MakeMe. For full details, read on, courtesy of MakeMe:
ESP makes heavy use of two sibling tools from Embedthis.
- Pak manager to install and manage extension packages.
- Expansive site manager for layout pages and web site tooling.