In the Developer environment chapter, within the Common considerations > CMake section, there is some code that declares a custom Vulkan::cppm target to use with your CMake project. While trying to setup my CMake project I was not being able to compile C++ code that I got from the tutorial. The issue was that VULKAN_HPP_NO_STRUCT_CONSTRUCTORS was undefined, contrary to how Vulkan::cppm is initialized in the actual CMakeLists.txt from the tutorial repo, where the define is set. Adding the define like this fixed the issue:
target_compile_definitions(VulkanCppModule PUBLIC
VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1
VULKAN_HPP_NO_STRUCT_CONSTRUCTORS=1
)
It is probably worth to mention this, or add the define in the example CMake code just as it is defined in the tutorial code.