Fixed clangd problems with emscripten.

This commit is contained in:
2026-06-16 23:59:51 +02:00
parent a708ac9628
commit af440fd296
6 changed files with 94 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ Create the makefiles using cmake. For more info look at the readme in screepsxx.
```
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_TOOLCHAIN_FILE=emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
```
# Build