diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-11-20 17:35:47 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-11-20 17:39:57 -0500 |
commit | 9a6db2eb2f1acf3111371516c56eae0e7a69de13 (patch) | |
tree | aaa6be654393f374761f8ee3d1704d61235771f9 /test cases | |
parent | 8dd32506f468b46ce196900e10c975d936084fcc (diff) | |
download | meson-9a6db2eb2f1acf3111371516c56eae0e7a69de13.zip meson-9a6db2eb2f1acf3111371516c56eae0e7a69de13.tar.gz meson-9a6db2eb2f1acf3111371516c56eae0e7a69de13.tar.bz2 |
gnome.compile_resources(): Add export and install_header kwargs
This defaults to not exporting resources as that is generally what
you want but that does make this a breaking change. Along with that
if you export your resources you would want to install the header.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/frameworks/7 gnome/installed_files.txt | 1 | ||||
-rw-r--r-- | test cases/frameworks/7 gnome/resources/meson.build | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test cases/frameworks/7 gnome/installed_files.txt b/test cases/frameworks/7 gnome/installed_files.txt index 2f18cb1..d0d51d5 100644 --- a/test cases/frameworks/7 gnome/installed_files.txt +++ b/test cases/frameworks/7 gnome/installed_files.txt @@ -13,3 +13,4 @@ usr/share/gir-1.0/MesonDep1-1.0.gir usr/share/gir-1.0/MesonDep2-1.0.gir usr/share/glib-2.0/schemas/com.github.meson.gschema.xml usr/share/simple-resources.gresource +usr/include/simple-resources.h diff --git a/test cases/frameworks/7 gnome/resources/meson.build b/test cases/frameworks/7 gnome/resources/meson.build index bee99f0..2e72501 100644 --- a/test cases/frameworks/7 gnome/resources/meson.build +++ b/test cases/frameworks/7 gnome/resources/meson.build @@ -3,6 +3,8 @@ simple_resources = gnome.compile_resources('simple-resources', 'simple.gresource.xml', + install_header : true, + export : true, source_dir : '../resources-data', c_name : 'simple_resources') |