Add build modes. Engine - build framework only. Tests - build unit tests only. TestGame - build TestGame and engine libraries. All - build all. Add scripts for easy build projects in different modes. "build_tests.bat" - create build directory, configure tests project and build there. "build_Engine.bat" - create build directory, configure engine projects, build there and copy header files to "build/bin/include".

This commit is contained in:
Jiga228
2025-10-24 17:05:10 +07:00
parent 8d7dcac563
commit 8965669d6a
5 changed files with 49 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
@echo off
mkdir .\build
cd build
cmake -DBUILD_MODE=Engine ..
cmake --build . --config Release
cd ..
mkdir ".\build\bin\include"
robocopy ".\Core" ".\build\bin\include\Core" *.h *.hpp /S
robocopy ".\Delegate" ".\build\bin\include\Delegate" *.h *.hpp /S
robocopy ".\FastRTTI" ".\build\bin\include\FastRTTI" *.h *.hpp /S
pause