13 lines
268 B
Batchfile
13 lines
268 B
Batchfile
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\\
|
|
)
|