From f9c051fc8232ae44bc49538284a01f36820846b9 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Mon, 1 Nov 2021 04:28:12 +0200 Subject: [PATCH] Use cmake --build to build on Windows --- clean_build.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clean_build.bat b/clean_build.bat index 79fce047..6f042326 100644 --- a/clean_build.bat +++ b/clean_build.bat @@ -41,8 +41,7 @@ if ERRORLEVEL 1 goto failed cd build cmake -G "%cmake_gen%" -A x64 -D CMAKE_BUILD_TYPE=%B_BUILD_TYPE% -D CMAKE_PREFIX_PATH="%B_QT_FULLPATH%" -D DNSSD_LIB="%B_BONJOUR%\Lib\x64\dnssd.lib" -D QT_VERSION=%B_QT_VER% .. if ERRORLEVEL 1 goto failed -echo @msbuild barrier.sln /p:Platform="x64" /p:Configuration=%B_BUILD_TYPE% /m %B_BUILD_OPTIONS% > make.bat -call make.bat +cmake --build . --config %B_BUILD_TYPE% if ERRORLEVEL 1 goto failed if exist bin\Debug ( copy %B_QT_FULLPATH%\bin\Qt5Cored.dll bin\Debug\ > NUL