initial commit
This commit is contained in:
56
src/meson.build
Executable file
56
src/meson.build
Executable file
@@ -0,0 +1,56 @@
|
||||
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
|
||||
)
|
||||
|
||||
try_engine_dep = declare_dependency(
|
||||
include_directories: inc,
|
||||
link_with: lib,
|
||||
)
|
||||
|
||||
deps += try_engine_dep
|
||||
Reference in New Issue
Block a user