mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
74a4a10f48
- Markdown will now be validated as part of Github CI - Applied auto-fix to most common issues (mostly whitespace related) - Fixed manually some of more complex cases Some valid markdownlint rules are currently disabled, to avoid failing CI, can be enabled in future
749 B
749 B
CMake options
-D CMAKE_BUILD_TYPE=Debug
- Enables debug info and disables optimizations
-D CMAKE_EXPORT_COMPILE_COMMANDS=ON
- Creates
compile_commands.json
for clangd language server. For clangd to find the JSON, create a file named.clangd
with this content
and place it here:CompileFlags: CompilationDatabase: build
. ├── vcmi -> contains sources and is under git control ├── build -> contains build output, makefiles, object files,... └── .clangd
- Creates
-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
-j
flag
- Use Ninja build system instead of Make, which speeds up the build and doesn't require a