Added physics module
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
12
meson.build
12
meson.build
@@ -13,6 +13,9 @@ evmodglfw_dep = dependency('evmod_glfw')
|
||||
subproject('evmod_ecs')
|
||||
evmodecs_dep = dependency('evmod_ecs')
|
||||
|
||||
subproject('evmod_physics')
|
||||
evmodphysics_dep = dependency('evmod_physics')
|
||||
|
||||
sandbox_incdir = []
|
||||
|
||||
configure_file(input: 'config.lua', output: 'config.lua', copy: true)
|
||||
@@ -27,6 +30,14 @@ if build_machine.system() == 'windows'
|
||||
build_by_default: true,
|
||||
)
|
||||
|
||||
# flecs dll needs to be copied to root builddir
|
||||
flecsdllcopy = custom_target(
|
||||
'flecsDLLCopy',
|
||||
output: 'flecsDLL',
|
||||
command: ['powershell.exe', meson.current_source_dir() + '/buildscripts/flecsdllcopy.ps1', meson.project_build_root()],
|
||||
build_by_default: true,
|
||||
)
|
||||
|
||||
# lua dll only needs to be copied in the environment setup
|
||||
run_command('powershell.exe', meson.current_source_dir() + '/buildscripts/luadllcopy.ps1', meson.project_source_root(), meson.project_build_root())
|
||||
endif
|
||||
@@ -38,6 +49,7 @@ sandbox_exe = executable(
|
||||
evol_dep,
|
||||
evmodglfw_dep,
|
||||
evmodecs_dep,
|
||||
evmodphysics_dep,
|
||||
],
|
||||
install : true,
|
||||
include_directories: sandbox_incdir,
|
||||
|
||||
Reference in New Issue
Block a user