reorganize to use .bat files instead of .sh. Move demo to an example project

This commit is contained in:
2025-09-15 10:58:01 -05:00
parent 530dea9728
commit e77dfde1bc
18 changed files with 115 additions and 39 deletions

10
build.bat Normal file
View File

@@ -0,0 +1,10 @@
@ECHO off
SET flags=-Od -ZI -MDd
IF "%1" == "release" (
SET flags=-O2 -MTd
)
SET srcs=src\*
mkdir bin obj
cl %srcs% ext\glfw\build\src\Debug\glfw3.lib kernel32.lib user32.lib Gdi32.lib Shell32.lib -I inc -I ext\glm -I ext\glfw\include %flags% -std:c++20 -MP -LD -Fo:obj\\ -Fe:bin\\LivePlotter.dll
COPY /Y assets\* bin
COPY /Y assets\shaders\* bin