2023-07-01 12:53:37 +03:00
|
|
|
project(
|
|
|
|
'game',
|
|
|
|
'c', 'cpp',
|
|
|
|
default_options : ['cpp_std=c++20']
|
|
|
|
)
|
|
|
|
|
|
|
|
glfw3_dep = dependency('glfw3')
|
2023-08-30 05:59:37 +03:00
|
|
|
assimp_dep = dependency('assimp')
|
2023-07-01 12:53:37 +03:00
|
|
|
incdir = include_directories(['src', 'src/vendor'])
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'game',
|
2023-07-06 16:46:07 +03:00
|
|
|
'./src/common.cpp',
|
|
|
|
'./src/shader.cpp',
|
|
|
|
'./src/camera.cpp',
|
2023-08-30 05:59:37 +03:00
|
|
|
'./src/stb_image_impl.cpp',
|
|
|
|
'./src/texture.cpp',
|
|
|
|
'./src/mesh.cpp',
|
|
|
|
'./src/primitives.cpp',
|
2023-07-01 12:53:37 +03:00
|
|
|
'./src/main.cpp',
|
|
|
|
'./src/vendor/glad/glad.c',
|
|
|
|
include_directories : incdir,
|
2023-08-30 05:59:37 +03:00
|
|
|
dependencies : [glfw3_dep, assimp_dep]
|
2023-07-01 12:53:37 +03:00
|
|
|
)
|