added glfw and glad to the project
This commit is contained in:
parent
e70941e3c0
commit
4541cb7d0e
8 changed files with 8023 additions and 2 deletions
|
@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.31)
|
|||
|
||||
file(GLOB_RECURSE MY_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
|
||||
|
||||
add_subdirectory("lib/glfw")
|
||||
|
||||
project("game_engine")
|
||||
add_executable("game_engine" "src/main.cpp" "${MY_SOURCES}")
|
||||
|
||||
target_include_directories("game_engine" PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
target_link_libraries("game_engine" "glfw")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue