Basic setup for Cpp based screeping.

This commit is contained in:
douwe
2025-08-12 23:56:10 +02:00
parent 7c1a84a5ca
commit 5ed1329d2e
60 changed files with 2709 additions and 604 deletions

15
running notes.txt Normal file
View File

@@ -0,0 +1,15 @@
# Emsdk
Use emsdk 2.0.0 to only use ES5 syntax for js.
cd emsdk && \
./emsdk install 2.0.0 && \
./emsdk activate 2.0.0 && \
source ./emsdk_env.sh && \
cd ..
# Cmake
In screeps project run dit om cmake setup in te stellen:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake .
Run dit om de code te compilen:
cmake --build .