stories/CMakeLists.txt

25 lines
507 B
CMake

cmake_minimum_required(VERSION 3.0)
project(stories VERSION 0.0.1 LANGUAGES CXX)
cmake_policy(SET CMP0076 NEW)
cmake_policy(SET CMP0079 NEW)
set(CMAKE_CXX_STANDARD 17)
find_package(SDL2 REQUIRED)
find_package(Vulkan REQUIRED)
add_executable(stories main.cpp)
target_include_directories(stories PRIVATE ${CMAKE_SOURCE_DIR})
target_link_libraries(stories
engine
SDL2::SDL2
Vulkan::Vulkan
)
add_subdirectory(engine)
add_subdirectory(shaders)
install(TARGETS stories RUNTIME DESTINATION bin)