summaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-10-21 07:38:32 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-10-21 08:00:39 +0530
commit57ce7d461877b2ad8da4f4712879880148759bc6 (patch)
treef6fcf145a32ad4f7cdc1022e5c441c5b91db9ddb /test cases/frameworks
parent9c9c5ab2a878a32c7f1e2855596caac1122b5bf5 (diff)
downloadmeson-57ce7d461877b2ad8da4f4712879880148759bc6.tar.gz
Add support for extracting objects in unity builds
Not only does extract_all_objects() now work properly again, extract_objects() also works if you specify a subset of sources all of which have been compiled into a single unified object. So, for instance, this allows you to extract all the objects corresponding to the C sources compiled into a target consisting of C and C++ sources.
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/7 gnome/mkenums/meson-sample.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test cases/frameworks/7 gnome/mkenums/meson-sample.h b/test cases/frameworks/7 gnome/mkenums/meson-sample.h
index 51e542153..ee7b5cbfb 100644
--- a/test cases/frameworks/7 gnome/mkenums/meson-sample.h
+++ b/test cases/frameworks/7 gnome/mkenums/meson-sample.h
@@ -1,3 +1,5 @@
+#pragma once
+
typedef enum
{
MESON_THE_XVALUE,