Add meson build configuration
Currently the editor will not work if it is not installed. There is also a caveat about the 'data' directory which is installed in the bin directory. This may work but does not seem ok because it is pollution a shared bin directory and the 'data' folder may not be unique to Lite.
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
project('lite', 'c', version: '1.05', default_options : ['c_std=gnu11'])
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
libm = cc.find_library('m', required : false)
|
||||
|
||||
lua_dep = dependency('lua')
|
||||
sdl_dep = dependency('sdl2', method: 'config-tool')
|
||||
stb_truetype_dep = dependency('stb_truetype')
|
||||
|
||||
lite_include = include_directories('src')
|
||||
install_subdir('data', install_dir : 'bin')
|
||||
|
||||
subdir('src')
|
||||
Reference in New Issue
Block a user