summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmakeconfig/meson.build61
-rw-r--r--meson.build1
2 files changed, 62 insertions, 0 deletions
diff --git a/cmakeconfig/meson.build b/cmakeconfig/meson.build
new file mode 100644
index 0000000..2261a4f
--- /dev/null
+++ b/cmakeconfig/meson.build
@@ -0,0 +1,61 @@
1
2cmake_src = [
3 'Ecore',
4 'EcoreCxx',
5 'Edje',
6 'Eet',
7 'EetCxx',
8 'Eeze',
9 'Efl',
10 'Efreet',
11 'Eina',
12 'EinaCxx',
13 'Eio',
14 'Eldbus',
15 'Elementary',
16 'Elua',
17 'Emile',
18 'Emotion',
19 'Eo',
20 'EoCxx',
21 'Eolian',
22 'EolianCxx',
23 'EthumbClient',
24 'Ethumb',
25 'Evas',
26 'EvasCxx',
27]
28
29cmake_version_src = [
30 'EFL',
31 'Elementary',
32]
33
34foreach cmake_file : cmake_src
35 configure_file(
36 input: cmake_file+'Config.cmake.in',
37 output: cmake_file+'Config.cmake',
38 install_dir: join_paths(dir_lib, 'cmake', cmake_file),
39 copy: true,
40 )
41endforeach
42
43conf = configuration_data()
44
45conf.set('VERSION', meson.version())
46
47foreach cmake_version_file : cmake_version_src
48 configure_file(
49 input: cmake_version_file+'ConfigVersion.cmake.in',
50 output: cmake_version_file+'ConfigVersion.cmake',
51 install_dir: join_paths(dir_lib, 'cmake', cmake_version_file),
52 configuration : conf,
53 )
54endforeach
55
56configure_file(
57 input: 'EolianHelper.cmake.in',
58 output: 'EolianHelper.cmake',
59 install_dir: join_paths(dir_lib, 'cmake', 'Eolian'),
60 copy: true
61)
diff --git a/meson.build b/meson.build
index a814d9d..cee0c1b 100644
--- a/meson.build
+++ b/meson.build
@@ -404,6 +404,7 @@ subdir(join_paths('src', 'bin', 'efl'))
404 404
405subdir(join_paths('src', 'generic', 'evas')) 405subdir(join_paths('src', 'generic', 'evas'))
406subdir(join_paths('src', 'generic', 'emotion')) 406subdir(join_paths('src', 'generic', 'emotion'))
407subdir('cmakeconfig')
407 408
408bindings = ['luajit', 'cxx', 'mono'] 409bindings = ['luajit', 'cxx', 'mono']
409 410