Initial Commit

Basic window with OpenGL, glad, GLFW, ImGui, and Eigen.
Dependencies are populated with FetchContent, not submodules.
This commit is contained in:
David Allemang
2022-02-07 21:45:09 -05:00
committed by David Allemang
commit 2f17710adb
7 changed files with 235 additions and 0 deletions

9
External/glad.cmake vendored Normal file
View File

@@ -0,0 +1,9 @@
FetchContent_Declare(
glad
GIT_REPOSITORY https://github.com/Dav1dde/glad.git
GIT_TAG v0.1.36
)
set(GLAD_PROFILE "core" CACHE INTERNAL "OpenGL profile")
set(GLAD_API "gl=4.6" CACHE INTERNAL "API type/version pairs, like \"gl=3.2,gles=\", no version means latest")
set(GLAD_GENERATOR "c" CACHE INTERNAL "Language to generate the binding for")
FetchContent_MakeAvailable(glad)