From 9a6db2eb2f1acf3111371516c56eae0e7a69de13 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sun, 20 Nov 2016 17:35:47 -0500 Subject: 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. --- test cases/frameworks/7 gnome/installed_files.txt | 1 + test cases/frameworks/7 gnome/resources/meson.build | 2 ++ 2 files changed, 3 insertions(+) (limited to 'test cases') 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') -- cgit v1.1