added a shader class and converted existing shaders to files

This commit is contained in:
Lukian 2025-01-28 14:39:18 +01:00
parent 3428be29ae
commit b21b9398e6
6 changed files with 160 additions and 65 deletions

View file

@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.31)
file(GLOB_RECURSE MY_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
file(GLOB_RECURSE MY_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.c")
file(GLOB_RECURSE MY_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/src/*.c")
add_subdirectory("lib/glfw")