19 lines
382 B
Meson
19 lines
382 B
Meson
project(
|
|
'game',
|
|
'c', 'cpp',
|
|
default_options : ['cpp_std=c++20']
|
|
)
|
|
|
|
glfw3_dep = dependency('glfw3')
|
|
incdir = include_directories(['src', 'src/vendor'])
|
|
|
|
executable(
|
|
'game',
|
|
'./src/common.cpp',
|
|
'./src/shader.cpp',
|
|
'./src/camera.cpp',
|
|
'./src/main.cpp',
|
|
'./src/vendor/glad/glad.c',
|
|
include_directories : incdir,
|
|
dependencies : [glfw3_dep]
|
|
)
|