If building Serenity from source, the first thing you'll need installed is CMake, which you can find HERE. CMake is a free to use software that is used for cross-platform project file generation. This project uses CMake version 3.14 as its minimum version for generating the project files. Once you have both CMake installed and Serenity's source code downloaded, you're free to generate the project files from anywhere of your choosing. Just note, that Serenity's root folder is off-limits as a folder to generate the files into, however, you're free to generate the files in another user made folder in Serenity's root folder and everywhere else outside Serenity's root folder.
If you were to generate the files in any other location, that location will need to be
specified after the '-B'
flag above as well as the
location to Serenity's root folder location after the '-S'
flag. Such as:
Generally speaking, the flow that users tend to use with CMake is to change directories to the project's root folder and run the first command listed above or to change directories to the project root folder and run
Generally Speaking, you will be able to find all related build options for Serenity under the folder
named 'cmake' in the file named 'Options.cmake'. How you tack on build options is by adding the
build option to the CMake configure command from above with the '-D'
flag and either enabling or disabling the option
with '="ON"' or '="OFF"'
.
std::format
for backend formatting
of log messages.
fmt::format
for backend formatting of
log messages. The version of 'fmt' included is version 9.1.0 by default.
formatter::format
for backend formatting of log messages.