aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-04-26 09:11:59 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-05-06 17:00:55 +0200
commitc1b638dfa4bcd113a648e952e36d679960403d07 (patch)
tree2d800f61f2d99e79b2f08126658d019049a3b2f5
parentmeson: do not build emotion generic loader on windows (diff)
downloadefl-c1b638dfa4bcd113a648e952e36d679960403d07.tar.gz
meson: fix and enable win32 ecore-evas engine build
these defines must be set in order to provide the expected engine functionality Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8733
-rw-r--r--src/modules/ecore_evas/engines/win32/meson.build7
-rw-r--r--src/modules/ecore_evas/meson.build3
2 files changed, 8 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/win32/meson.build b/src/modules/ecore_evas/engines/win32/meson.build
index 6a6477dd8b..a74f90f790 100644
--- a/src/modules/ecore_evas/engines/win32/meson.build
+++ b/src/modules/ecore_evas/engines/win32/meson.build
@@ -1,8 +1,13 @@
engine_src = files(['ecore_evas_win32.c'])
+config_h.set('BUILD_ECORE_EVAS_SOFTWARE_DDRAW', '1');
+config_h.set('BUILD_ECORE_EVAS_SOFTWARE_GDI', '1');
+
+engine_deps = [engine_software_ddraw, engine_software_gdi]
+
shared_module(mod_full_name, engine_src,
include_directories : config_dir + [engine_include_dir],
- dependencies : [eina, ecore_evas, ecore_input_evas] + engine_deps,
+ dependencies : [eina, ecore_win32, ecore_input, ecore_evas, ecore_input_evas] + engine_deps,
install : true,
install_dir : mod_install_dir,
name_suffix : sys_mod_extension
diff --git a/src/modules/ecore_evas/meson.build b/src/modules/ecore_evas/meson.build
index 75af136382..7a9d6979da 100644
--- a/src/modules/ecore_evas/meson.build
+++ b/src/modules/ecore_evas/meson.build
@@ -4,12 +4,13 @@ engines = [
['fb', ['fb']],
['sdl', ['sdl']],
['wayland', ['wl']],
-#['win32', ['ecore_win32']],
['x', ['x11']],
]
if sys_windows == false
engines += [['extn', []]]
+else
+ engines += [['win32', []]]
endif