blob: 70f010774bd9d135c38919520dda933b0153df2a (
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
34
35
|
cmake_minimum_required(VERSION 3.10)
project(compustream LANGUAGES CXX)
include_directories(
src/
)
add_executable(
compustream
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/vertex/lattice_cell_buffer.cc
src/buffer/vertex/fluid_cell_buffer.cc
src/buffer/vertex/material_buffer.cc
)
target_link_libraries(
compustream
GL
glfw
GLEW
)
target_compile_features(
compustream
PUBLIC
cxx_std_17
)
|