-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
43 lines (37 loc) · 1.02 KB
/
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
cmake_minimum_required(VERSION 3.22)
project(Z-Engine)
set(CMAKE_CXX_STANDARD 20)
include_directories(${CMAKE_SOURCE_DIR}/src)
include(FindGLEW)
include(FindOpenGL)
include(FindPNG)
find_package(Threads)
find_package(glfw3 3.3 REQUIRED)
add_executable(Z-Engine
src/Z-Engine.cpp
src/window/Events.cpp
src/window/Events.h
src/window/Window.cpp
src/window/Window.h
src/window/Camera.cpp
src/window/Camera.h
src/graphics/Shader.cpp
src/graphics/Shader.h
src/graphics/Texture.cpp
src/graphics/Texture.h
src/graphics/Primitives.cpp
src/graphics/Primitives.h
src/graphics/Mesh.cpp
src/graphics/Mesh.h
src/loaders/Png-Loader.cpp
src/loaders/Png-Loader.h
src/objects/Object.h
src/objects/Object.cpp
src/objects/Draw-Object.h
src/objects/Draw-Object.cpp
src/objects/Objects.h
src/objects/Objects.cpp
src/physics/Physics.h
src/physics/Physics.cpp
)
target_link_libraries(Z-Engine GLEW::glew OpenGL::GL Threads::Threads PNG::PNG GLEW::glew glfw)