aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 4a11355073a2b6c65dfc363704965a2d22d3b88a (plain)
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
cmake_minimum_required(VERSION 3.10)
project(computicle)

set(
	CMAKE_CXX_FLAGS
	"${CMAKE_CXX_FLAGS} -std=c++17 -W -Wall -Wextra -Winline -pedantic"
)

include_directories(
	src/
)

add_executable(
	computicle
		src/main.cc
		src/timer.cc
		src/glfw/guard.cc
		src/glfw/window.cc
		src/glfw/key_watcher.cc
		src/shader/util.cc
		src/shader/wrap/compute_shader.cc
		src/shader/wrap/graphic_shader.cc
		src/buffer/frame/texture_framebuffer.cc
		src/buffer/vertex/particle_vertex_buffer.cc
		src/buffer/vertex/texture_display_vertex_buffer.cc
)

target_link_libraries(
	computicle
		GL
		glfw
		GLEW
)