summaryrefslogtreecommitdiff
path: root/src/lib/evil/meson.build
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-05-10 14:41:57 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-05-27 11:06:46 +0200
commit8e3606698eb439eecd7302a885504365aca7e564 (patch)
tree6bb354ae72ab277548fafaab00a52aeaac5e61bb /src/lib/evil/meson.build
parent2d105a7e597a38a31ea88fefc02ac84b8b6e5543 (diff)
downloadefl-8e3606698eb439eecd7302a885504365aca7e564.tar.gz
refactor build
libraries are split into deps, external deps, and pub deps. Evas engines are refactored to use the predefined engine deps. this is preparation work for efl-one. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11806
Diffstat (limited to 'src/lib/evil/meson.build')
-rw-r--r--src/lib/evil/meson.build11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/evil/meson.build b/src/lib/evil/meson.build
index 823b724a91..deecb9e3cb 100644
--- a/src/lib/evil/meson.build
+++ b/src/lib/evil/meson.build
@@ -1,7 +1,10 @@
evil_deps = []
evil_pub_deps = []
+evil_ext_deps = []
+evil_src = []
+
if target_machine.system() == 'windows'
- evil_src = [
+ evil_src += files([
'evil_dlfcn.c',
'evil_fcntl.c',
'evil_langinfo.c',
@@ -15,7 +18,7 @@ if target_machine.system() == 'windows'
'evil_unistd.c',
'evil_util.c',
'evil_private.h',
- ]
+ ])
psapi = cc.find_library('psapi')
ole32 = cc.find_library('ole32')
@@ -23,9 +26,11 @@ if target_machine.system() == 'windows'
secur32 = cc.find_library('secur32')
uuid = cc.find_library('uuid')
+ evil_ext_deps += [psapi, ole32, ws2_32, secur32, uuid, regexp]
+
evil_lib = library('evil', evil_src,
c_args : package_c_args,
- dependencies : [psapi, ole32, ws2_32, secur32, uuid, regexp],
+ dependencies : evil_ext_deps,
include_directories : [config_dir],
install: true,
version: meson.project_version(),