CMake options
-D CMAKE_BUILD_TYPE=Debug- Enables debug info and disables optimizations
-D CMAKE_EXPORT_COMPILE_COMMANDS=ON- Creates
compile_commands.jsonfor clangd language server. For clangd to find the JSON, create a file named.clangdwith this content ```text CompileFlags: CompilationDatabase: build -D ENABLE_CCACHE:BOOL=ON- Speeds up recompilation
-G Ninja- Use Ninja build system instead of Make, which speeds up the build and doesn't require a
-jflag -D VCMI_UPDATE_CHANNEL=none- Update channel of the build:
stable(default),beta,developornone. The launcher checks for updates only instablebuilds. CI sets it from the branch;nonedisables the check