Clean up specification of Windows dependency listp also suggested by TheQwertiest in freenode #mesonbuild. Also more TODOs.

This commit is contained in:
Pietro Gagliardi 2019-03-29 11:03:07 -04:00
parent 7ea8c33547
commit 257536103f
2 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,7 @@
# MESONTODO figure out what (meson/ninja) dist do
# MESONTODO figure out why test and examples aren't included in ninja all
# MESONTODO figure out how to make an overarching "examples" target
# MESONTODO "cl : Command line warning D9038 : /ZI is not supported on this platform; enabling /Zi instead"
# MESONTODOs from cmake; not sure if they're relevant here:
# - uname -s for more refined OS control
# - Haiku for haiku

View File

@ -74,13 +74,12 @@ if libui_mode == 'shared'
libui_sources += [
windows.compile_resources('resources.rc',
args: libui_manifest_args,
depend_files: ['libui.manifest'],
depend_files: ['libui.manifest']),
]
endif
# TODO prune this list
libui_winlibs = 'user32 kernel32 gdi32 comctl32 uxtheme msimg32 comdlg32 d2d1 dwrite ole32 oleaut32 oleacc uuid windowscodecs'.split(' ')
foreach lib : libui_winlibs
foreach lib : ['user32', 'kernel32', 'gdi32', 'comctl32', 'uxtheme', 'msimg32', 'comdlg32', 'd2d1', 'dwrite', 'ole32', 'oleaut32', 'oleacc', 'uuid', 'windowscodecs']
libui_deps += [
meson.get_compiler('cpp').find_library(lib,
required: true),