reorganize to use .bat files instead of .sh. Move demo to an example project
This commit is contained in:
12
examples/demo/build.bat
Normal file
12
examples/demo/build.bat
Normal file
@@ -0,0 +1,12 @@
|
||||
SET flags=-Od -ZI -MD
|
||||
IF "%1" == "release" (
|
||||
SET flags=-O2 -MT
|
||||
)
|
||||
SET srcs=src\*
|
||||
mkdir bin obj
|
||||
(
|
||||
PUSHD ..\..
|
||||
CALL build.bat %1
|
||||
POPD
|
||||
COPY /Y ..\..\bin\* bin && cl %srcs% bin\LivePlotter.lib -I ..\..\inc -I ..\..\ext\glm %flags% -std:c++20 -MP -Fo:obj\\ -Fe:bin\\
|
||||
)
|
||||
Reference in New Issue
Block a user