VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

easy and robust cmake build process.

Open liudeyuan2021 opened this issue 3 years ago • 2 comments

I use MacBook m1 when I learn the Vulkan tutorial, I can't install stb or tinyobjloader through homebrew, so I have some problems when I build the files the first time.

I change the CMakeLists.txt and add stb and tinyobjloader submodules. I think it will be easier for someone who isn't familiar with CMake to build the files.

liudeyuan2021 avatar Jul 07 '22 09:07 liudeyuan2021

While I appreciate the effort, I don't think it's a good idea to add git submodules for the dependencies because it clutters the repo a bit too much. Perhaps someone else with Mac experience can chime in on how the installation process could be made easier.

Overv avatar Jul 08 '22 19:07 Overv

An alternative to having submodules would be using FetchContent to download the dependencies at runtime.

Having cmake setup that works out of the box would be very much appreciated btw. ;)

SaschaWillems avatar Oct 03 '22 11:10 SaschaWillems