Create the runtime directory

Create the runtime (binary) directory while running the project generator.
This commit is contained in:
Kawe Mazidjatari 2023-05-14 14:54:34 +02:00
parent 2174cc977c
commit 048f8a6467

View File

@ -2,6 +2,7 @@
setlocal setlocal
set BUILDDIR=build_intermediate set BUILDDIR=build_intermediate
set BINDIR=game
REM Check for Visual Studio versions in order REM Check for Visual Studio versions in order
for %%V in (15 16 17) do ( for %%V in (15 16 17) do (
@ -26,6 +27,9 @@ exit /b 1
if not exist "%BUILDDIR%" ( if not exist "%BUILDDIR%" (
mkdir "%BUILDDIR%" mkdir "%BUILDDIR%"
) )
if not exist "%BINDIR%" (
mkdir "%BINDIR%"
)
cd "%BUILDDIR%" cd "%BUILDDIR%"
cmake .. -G"%CMAKE_GENERATOR%" -A"x64" cmake .. -G"%CMAKE_GENERATOR%" -A"x64"