Requires at least MySQL 8.0 or MariaDB 10.2. Whether to enable MySQL/MariaDB support for server. Setting to ON requires the libwebsockets-dev library installed. Whether to enable WebSocket support for server. If set to OFF, will only use bundled libraries when system libraries are not found. Setting to ON will make DDNet use third party libraries available in the ddnet-libs folder, which is the git-submodule target of the ddnet-libs repository mentioned above - Useful if you do not have those libraries installed and want to avoid building them. Whether to prefer bundled libraries over system libraries. See CMAKE_BUILD_TYPE in CMake Documentation for more information. If not set, defaults to "Release" if -DDEV=ON is not used, and "Debug" if -DDEV=ON is used. DCMAKE_BUILD_TYPE=Īn optional CMake variable for setting the build type. The following is a non-exhaustive list of build arguments that can be passed to the cmake command-line tool in order to enable or disable options in build time: Alternatively see the following build arguments for how to disable some features and their dependencies ( -DVULKAN=OFF won't require Vulkan for example). See the previous section for how to get the dependencies. Note that when you build and develop locally, you should ideally use your system's package manager to install the dependencies, instead of relying on ddnet-libs submodule, which does not contain all dependencies anyway (e.g. The bundled libraries for official builds are now in the ddnet-libs submodule. $(nproc) in this case returns the number of processing units.ĭDNet requires additional libraries, some of which are bundled for the most common platforms (Windows, Mac, Linux, all x86 and x86_64) for convenience and the official builds. Pass the number of threads for compilation to make -j.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |