Setting up our first project with CMake
CMake is a build process management tool that works in an operating system in a compiler-independent manner. It makes use of CMakeLists.txt
to build project solutions. In this section, we will learn the process of building a CMake file for our first Vulkan application. Refer to the following instructions to understand the creation of this configuration file (CMakeLists.txt
):
- Create an empty
CMakeLists.txt
file as per the specified folder structure convention, that is,chapter_3 > Sample Name > CMakeLists.txt
. For the purpose of ensuring compatibility across different CMake versions, you need to specify the minimum supported version. If the current version of CMake happens to be lower than the specified one, ...
Get Learning Vulkan now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.