Browse Source

ci(windows): create build folders

Stéphane Lepin 5 years ago
parent
commit
4efb3e105e
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ci/windows/prepare-obs-windows.cmd

+ 4 - 1
ci/windows/prepare-obs-windows.cmd

@@ -12,12 +12,15 @@ if not exist %OBSPath% (
 
 REM Prepare OBS Studio builds
 
-echo Building obs-studio...
+echo Running CMake...
 cd /D %OBSPath%
 echo   git checkout %OBSLatestTag%
 git checkout %OBSLatestTag%
 echo:
 
+if not exist build32 mkdir build32
+if not exist build64 mkdir build64
+
 echo   Running cmake for obs-studio %OBSLatestTag% 32-bit...
 cd build32
 cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0 -DQTDIR="%QTDIR32%" -DDepsPath="%DepsPath32%" -DBUILD_CAPTIONS=true -DDISABLE_PLUGINS=true -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true ..