diff --git a/build.bat b/build.bat index a1a562f..d327c4c 100644 --- a/build.bat +++ b/build.bat @@ -2,11 +2,11 @@ SET flags=-Od -ZI -MDd SET config=Debug IF "%1" == "release" ( - SET flags=-O2 -MD -LD + SET flags=-O2 -MD SET config=Release ) SET srcs=src\* mkdir bin obj -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 +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 -LD -Fo:obj\\ -Fe:bin\\LivePlotter.dll COPY /Y assets\* bin COPY /Y assets\shaders\* bin