Created
June 20, 2020 22:00
-
-
Save ericoporto/6240f10240645cf59de28c44345df671 to your computer and use it in GitHub Desktop.
CMake for Vulkan tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.16) | |
project(vulkanLearning) | |
set(CMAKE_CXX_STANDARD 17) | |
find_package(Vulkan REQUIRED) | |
add_subdirectory(lib/glfw-3.3.2) | |
SET(GLM_TEST_ENABLE OFF CACHE BOOL "GLM Build unit tests") | |
add_subdirectory(lib/glm-0.9.9.6 EXCLUDE_FROM_ALL) | |
add_executable(${PROJECT_NAME} main.cpp) | |
target_link_libraries(${PROJECT_NAME} glfw ${GLFW_LIBRARIES} Vulkan::Vulkan GLM::GLM) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment