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:
@@ -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
|
||||
Reference in New Issue
Block a user