@echo off set ROOT=%~dp0% pushd "%ROOT%" REM call 3rd_party\CEF\create.cmd Debug mkdir build mkdir build\debug pushd build\debug cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Debug -DSIADRIVE_INSTALL_FOLDER="%ROOT%dist\Debug" ..\.. cmake --build . --config Debug && cmake --build . --target install --config Debug popd pause popd