summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-04 20:38:07 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-07 13:05:31 +0100
commit500a36ba3d3d00ed292ed3e85bb9ac40a55bd2a9 (patch)
treed19bbb3272cf471ccda916cf4dc86e0250171392 /src/lib/ecore_audio
parent79ded15ad3c0074e1d378cc5a0accad2399fcc24 (diff)
meson: add inital support for windows compilation
Differential Revision: https://phab.enlightenment.org/D7416
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_audio/meson.build b/src/lib/ecore_audio/meson.build
index b73d53d..bc3215e 100644
--- a/src/lib/ecore_audio/meson.build
+++ b/src/lib/ecore_audio/meson.build
@@ -70,6 +70,13 @@ if get_option('pulseaudio')
70 config_h.set('HAVE_PULSE', '1') 70 config_h.set('HAVE_PULSE', '1')
71endif 71endif
72 72
73if sys_windows == true
74 ecore_audio_src += [
75 'ecore_audio_obj_out_wasapi.c'
76 ]
77 ecore_audio_deps += [cc.find_library('ksuser', required: true), cc.find_library('winmm', required: true)]
78endif
79
73ecore_audio_lib = library('ecore_audio', 80ecore_audio_lib = library('ecore_audio',
74 ecore_audio_src, pub_eo_file_target, 81 ecore_audio_src, pub_eo_file_target,
75 dependencies: ecore_audio_pub_deps + [m] + ecore_audio_deps, 82 dependencies: ecore_audio_pub_deps + [m] + ecore_audio_deps,