![]() OBS requires at least CMake v3.16 or newer due to many quality-of-life changes introduced in this version. This article explains some intricacies of OBS' CMake build system structure and the available options to change its behavior. While these build options are detected and set automatically by CMake, they can also be changed after build configuration has finished or can be changed via overrides at configuration time. ![]() As a modular project, each module can introduce its own build options and requirements, which are gathered and managed by CMake when invoking it. OBS uses CMake to create build environments for different platforms and IDEs. ![]() Check out the OS-dependent chapters below for more detail on available functionality. The repository has build scripts for Windows, macOS and Linux available (written for Powershell and Bash respectively) that can set up build tools and dependencies for the developer as well as building and packaging OBS. macOS and Linux systems also require the Ninja build system to be installed, CCache can be installed to speed up consecutive builds as well and is supported by the build system. We suggest having a current version of Git and CMake installed on the build system. ![]() Please note that any install directions/packages for Linux/FreeBSD distributions listed as Unofficial means that they are community provided, and any support for those packages should be directed at the appropriate distro/package maintainers. If you want to develop for OBS, please visit our Discord and get to know the devs or have questions answered!Īlso, if there is something in this guide you want to change/improve on, it is recommended that you talk about it with the devs in Discord or IRC first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |