PacktPublishing / Vulkan-Cookbook

Code repository for Vulkan Cookbook by Packt
MIT License
816 stars 109 forks source link

Consider adding pause to the Build Batch so users can see the Error. #17

Open MattH3nderson opened 1 year ago

MattH3nderson commented 1 year ago

There may be a reason for it not being there however for me, the batch closes immediately if there is an issue. I never get to see the helpful warning echoed there.

mkdir build
cd build

cmake.exe .. -DVK_USE_PLATFORM=WIN32 -G "Visual Studio 14 2015 Win64"

if exist VulkanCookbook.sln (
    start "" "VulkanCookbook.sln"
) else (
    echo "Error occurred during solution creation!"
    pause
)

cd ..