2020-05-28 12:15:24 +02:00
|
|
|
project('lite', 'c', 'cpp', version: '1.05', default_options : ['c_std=gnu11', 'cpp_std=c++03'])
|
2020-05-25 12:21:43 +02:00
|
|
|
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
libm = cc.find_library('m', required : false)
|
2020-05-25 12:23:46 +02:00
|
|
|
libdl = cc.find_library('dl', required : false)
|
2020-05-25 12:21:43 +02:00
|
|
|
|
|
|
|
lua_dep = dependency('lua')
|
|
|
|
sdl_dep = dependency('sdl2', method: 'config-tool')
|
2020-05-28 12:15:24 +02:00
|
|
|
libagg_dep = dependency('libagg')
|
|
|
|
freetype_dep = dependency('freetype2')
|
2020-05-25 12:21:43 +02:00
|
|
|
stb_truetype_dep = dependency('stb_truetype')
|
|
|
|
|
|
|
|
lite_include = include_directories('src')
|
|
|
|
install_subdir('data', install_dir : 'bin')
|
|
|
|
|
|
|
|
subdir('src')
|