- Add gfx_test - add texture loading to GfxOpenGL - add full submit code - add debug logging - add construct and destroy functionality to Pool - add command functionality - add vertex and index pools to lithium (static and not threadsafe yet) - Update GfxDriver Matrix with SetViewPort - Add glfw (only dependency of gfx_test) maybe later required for input driver
14 lines
384 B
CMake
Vendored
14 lines
384 B
CMake
Vendored
cmake_minimum_required(VERSION 3.22)
|
|
|
|
# GLAD
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/glad)
|
|
|
|
# STB
|
|
add_library(stb INTERFACE)
|
|
target_include_directories(stb INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/stb)
|
|
|
|
# GLFW
|
|
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "")
|
|
set(GLFW_BUILD_TESTS OFF CACHE BOOL "")
|
|
set(GLFW_BUILD_DOCS OFF CACHE BOOL "")
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/glfw) |