reorganize to use .bat files instead of .sh. Move demo to an example project
This commit is contained in:
10
build.bat
Normal file
10
build.bat
Normal 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
|
||||
Reference in New Issue
Block a user