[meson] Don't compile noinst_programs in msvc for now
This commit is contained in:
parent
7054b12206
commit
22f311e100
|
@ -366,7 +366,10 @@ libharfbuzz_dep = declare_dependency(
|
|||
include_directories: incsrc,
|
||||
dependencies: deps)
|
||||
|
||||
noinst_programs = {
|
||||
# TODO: MSVC gives the following,
|
||||
# error LNK2019: unresolved external symbol "unsigned __int64 const * const _hb_NullPool"
|
||||
if cpp.get_id() != 'msvc'
|
||||
noinst_programs = {
|
||||
'main': 'main.cc',
|
||||
'test-basics': 'test.cc',
|
||||
'test-buffer-serialize': 'test-buffer-serialize.cc',
|
||||
|
@ -375,15 +378,16 @@ noinst_programs = {
|
|||
'test-ot-glyphname': 'test-ot-glyphname.cc',
|
||||
'test-ot-gpos-size-params': 'test-gpos-size-params.cc',
|
||||
'test-ot-gsub-would-substitute': 'test-gsub-would-substitute.cc',
|
||||
}
|
||||
foreach name, source : noinst_programs
|
||||
}
|
||||
foreach name, source : noinst_programs
|
||||
executable(name, source,
|
||||
include_directories: incconfig,
|
||||
cpp_args: cpp_args,
|
||||
dependencies: libharfbuzz_dep,
|
||||
install: false,
|
||||
)
|
||||
endforeach
|
||||
endforeach
|
||||
endif
|
||||
|
||||
check_programs = {
|
||||
'dump-indic-data': ['dump-indic-data.cc', 'hb-ot-shape-complex-indic-table.cc'],
|
||||
|
|
Loading…
Reference in New Issue