readme mods. can build with glfw in either Debug or Release config. some reorg of the cpp example

This commit is contained in:
2025-09-15 11:53:24 -05:00
parent 6d45d12dc1
commit cb6d239d00
7 changed files with 12 additions and 8 deletions

View File

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