58 lines
987 B
Meson
Executable File
58 lines
987 B
Meson
Executable File
inc += include_directories('.')
|
|
|
|
headers = [
|
|
'application/application.hpp',
|
|
'event/event.hpp',
|
|
|
|
'glfw/context/context.hpp',
|
|
'glfw/glfw.hpp',
|
|
|
|
'gui/style/fonts.hpp',
|
|
'gui/style/icons.hpp',
|
|
'gui/style/style.hpp',
|
|
'gui/flags.hpp',
|
|
|
|
'layer/layer.hpp',
|
|
|
|
'utils/define.hpp',
|
|
'utils/include.hpp',
|
|
'utils/keycode.hpp',
|
|
# 'utils/time.hpp',
|
|
'utils/using.hpp',
|
|
'utils/var.hpp',
|
|
'utils/utils.hpp',
|
|
|
|
'opengl/buffer/buffer.hpp',
|
|
'opengl/shader_program/shader_program.hpp',
|
|
'opengl/opengl.hpp',
|
|
|
|
'VE.hpp'
|
|
]
|
|
|
|
sources = [
|
|
'application/application.cpp',
|
|
|
|
'glfw/context/context.cpp',
|
|
'glfw/glfw.cpp',
|
|
'gui/gui.cpp',
|
|
|
|
'opengl/buffer/buffer.cpp',
|
|
'opengl/shader_program/shader_program.cpp'
|
|
]
|
|
|
|
lib = library(
|
|
meson.project_name(),
|
|
include_directories : inc,
|
|
sources: [headers, sources],
|
|
dependencies : deps,
|
|
cpp_args: args
|
|
)
|
|
|
|
vertex_engine_dep = declare_dependency(
|
|
include_directories: inc,
|
|
link_with: lib,
|
|
)
|
|
|
|
deps += vertex_engine_dep
|
|
|