2019-05-04 15:53:54 -05:00
|
|
|
# 23 march 2019
|
|
|
|
|
|
|
|
libui_test_sources += [
|
|
|
|
'lib/testing.c',
|
2019-05-19 16:55:31 -05:00
|
|
|
'lib/testingpriv.c',
|
2019-05-04 15:53:54 -05:00
|
|
|
'lib/timer.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
if libui_OS == 'windows'
|
|
|
|
libui_test_sources += [
|
|
|
|
'lib/thread_windows.c',
|
|
|
|
'lib/timer_windows.c',
|
|
|
|
]
|
|
|
|
else
|
|
|
|
libui_test_sources += [
|
|
|
|
'lib/thread_darwinunix.c',
|
|
|
|
'lib/timer_darwinunix.c'
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
libui_test_deps += [
|
|
|
|
dependency('threads',
|
|
|
|
required: true),
|
|
|
|
]
|
|
|
|
if libui_OS == 'windows'
|
2019-05-04 20:47:04 -05:00
|
|
|
# static mode already gives us these dependencies
|
2019-05-04 15:53:54 -05:00
|
|
|
if libui_mode != 'static'
|
|
|
|
libui_test_deps += [
|
|
|
|
meson.get_compiler('c').find_library('kernel32',
|
|
|
|
required: true),
|
|
|
|
meson.get_compiler('c').find_library('user32',
|
|
|
|
required: true),
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
endif
|