mirror of https://github.com/odrling/Aegisub
89 lines
2.3 KiB
Meson
89 lines
2.3 KiB
Meson
libaegisub_src = [
|
|
'ass/dialogue_parser.cpp',
|
|
'ass/time.cpp',
|
|
'ass/uuencode.cpp',
|
|
|
|
'audio/provider_convert.cpp',
|
|
'audio/provider.cpp',
|
|
'audio/provider_dummy.cpp',
|
|
'audio/provider_hd.cpp',
|
|
'audio/provider_lock.cpp',
|
|
'audio/provider_pcm.cpp',
|
|
'audio/provider_ram.cpp',
|
|
|
|
'common/calltip_provider.cpp',
|
|
'common/character_count.cpp',
|
|
'common/charset_6937.cpp',
|
|
'common/charset_conv.cpp',
|
|
'common/charset.cpp',
|
|
'common/color.cpp',
|
|
'common/file_mapping.cpp',
|
|
'common/format.cpp',
|
|
'common/fs.cpp',
|
|
'common/hotkey.cpp',
|
|
'common/io.cpp',
|
|
'common/json.cpp',
|
|
'common/kana_table.cpp',
|
|
'common/karaoke_matcher.cpp',
|
|
'common/keyframe.cpp',
|
|
'common/line_iterator.cpp',
|
|
'common/log.cpp',
|
|
'common/mru.cpp',
|
|
'common/option.cpp',
|
|
'common/option_value.cpp',
|
|
'common/parser.cpp',
|
|
'common/path.cpp',
|
|
'common/thesaurus.cpp',
|
|
'common/util.cpp',
|
|
'common/vfr.cpp',
|
|
'common/ycbcr_conv.cpp',
|
|
'common/cajun/elements.cpp',
|
|
'common/cajun/reader.cpp',
|
|
'common/cajun/writer.cpp',
|
|
|
|
'lua/modules.cpp',
|
|
'lua/script_reader.cpp',
|
|
'lua/utils.cpp',
|
|
'lua/modules/lfs.cpp',
|
|
'lua/modules/re.cpp',
|
|
'lua/modules/unicode.cpp',
|
|
'lua/modules/lpeg.c',
|
|
]
|
|
|
|
if host_machine.system() == 'darwin'
|
|
libaegisub_src += [
|
|
'osx/dispatch.mm',
|
|
'osx/spellchecker.mm',
|
|
'osx/util.mm',
|
|
]
|
|
else
|
|
libaegisub_src += 'common/dispatch.cpp'
|
|
if host_machine.system() == 'windows'
|
|
libaegisub_src += [
|
|
'windows/access.cpp',
|
|
'windows/charset_conv_win.cpp',
|
|
'windows/fs.cpp',
|
|
'windows/lagi_pre.cpp',
|
|
'windows/log_win.cpp',
|
|
'windows/path_win.cpp',
|
|
'windows/util_win.cpp',
|
|
]
|
|
else
|
|
libaegisub_src += [
|
|
'unix/access.cpp',
|
|
'unix/fs.cpp',
|
|
'unix/log.cpp',
|
|
'unix/path.cpp',
|
|
'unix/util.cpp',
|
|
]
|
|
endif
|
|
endif
|
|
|
|
libaegisub_cpp_pch = ['lagi_pre.h']
|
|
libaegisub_inc = include_directories('include')
|
|
|
|
libaegisub = static_library('aegisub', libaegisub_src, acconf,
|
|
include_directories : libaegisub_inc,
|
|
cpp_pch : 'include/lagi_pre.h',
|
|
dependencies : deps)
|