-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (43 loc) · 1.16 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
44
45
cmake_minimum_required(VERSION 3.20)
project(project)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -framework GLUT -framework OpenGL")
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os")
add_executable(
project
main.cpp
main.h
mouse/mouse.cpp
mouse/mouse.h
keyboard/keyboard.cpp
keyboard/keyboard.h
block/Block.cpp
block/Block.h
block/types_of_block.h
camera/Camera.cpp
camera/Camera.h
utils/Utils.cpp
utils/Utils.h
window/Window.cpp
window/Window.h
player/Player.cpp
player/Player.h
chunk/Chunk.cpp
chunk/Chunk.h
world/World.cpp
world/World.h
texture/Texture.cpp
texture/Texture.h
light/Light.cpp
light/Light.h
structures/Cloud.cpp
structures/Cloud.h
structures/Tree.cpp
structures/Tree.h
structures/Cactus.cpp
structures/Cactus.h
structures/SnowFlake.cpp
structures/SnowFlake.h
biome/BiomeType.h
biome/Biome.cpp
biome/Biome.h structures/Rock.cpp structures/Rock.h)