Skip to content

Commit

Permalink
Updating Meson files to use Lua from deps/
Browse files Browse the repository at this point in the history
  • Loading branch information
Miqueas committed May 16, 2024
1 parent 1d4d44a commit 2a9d7ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
project('Lua-C-API-Examples', 'c')
project('Lua-C-API-Examples', 'c',
version: '0.1.0',
license: 'zlib',
meson_version: '>=0.53.0',
)

cc = meson.get_compiler('c')
system = host_machine.system()

subdir('deps' / 'lua54')
subdir('src')
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ stack_dump_exe = executable('07-stack-dump', '07-stack-dump.c', dependencies: lu
versions_51_exe = executable('08-versions-51', '08-versions.c', dependencies: lua51_dep)
versions_52_exe = executable('08-versions-52', '08-versions.c', dependencies: lua52_dep)
versions_53_exe = executable('08-versions-53', '08-versions.c', dependencies: lua53_dep)
versions_54_exe = executable('08-versions-54', '08-versions.c', dependencies: lua54_dep)
versions_54_exe = executable('08-versions-54', '08-versions.c', link_with: liblua54, include_directories: lua54_headers)

# ==== Example 09: newlib ==== #
library('newlib', '09-newlib.c',
Expand Down

0 comments on commit 2a9d7ac

Please sign in to comment.