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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |