-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
52 lines (48 loc) · 862 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
cmake_minimum_required (VERSION 3.8)
find_package(glad CONFIG REQUIRED)
find_package(glfw3 CONFIG REQUIRED)
find_package(glm CONFIG REQUIRED)
add_library(EzGL
Camera.cpp
Camera.h
EBO.h
EBO.tpp
FBO.cpp
FBO.h
Graphics.cpp
Graphics.h
Graphics.tpp
RBO.cpp
RBO.h
Shader.cpp
Shader.h
Texture2D.cpp
Texture2D.h
Texture2D.tpp
UBO.cpp
UBO.h
UBO.tpp
VAO.cpp
VAO.h
VAO.tpp
VBO.h
VBO.tpp
EzGL.h
GLlibs.h
EzGLlibs.h
Texture2DMultisample.cpp
Texture2DMultisample.h
RBOMultisample.cpp
RBOMultisample.h
Texture1D.cpp
Texture1D.h
Texture1D.tpp
Texture3D.cpp
Texture3D.h
Texture3D.tpp
)
target_compile_definitions(EzGL PUBLIC GL_API_GLAD_OPENGL_3)
target_compile_definitions(EzGL PUBLIC WINDOW_API_GLFW)
target_link_libraries(EzGL PUBLIC glad::glad)
target_link_libraries(EzGL PUBLIC glfw)
target_link_libraries(EzGL PUBLIC glm::glm)