summaryrefslogtreecommitdiff
path: root/sigc++/sigc++.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigc++/sigc++.h')
-rw-r--r--sigc++/sigc++.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sigc++/sigc++.h b/sigc++/sigc++.h
index 765b1f8..e04ddd8 100644
--- a/sigc++/sigc++.h
+++ b/sigc++/sigc++.h
@@ -64,6 +64,25 @@
* @code
* g++ program.cc -o program `pkg-config --cflags --libs sigc++-2.0`
* @endcode
+ * If your version of g++ is not C++11-compliant be default,
+ * add the @c -std=c++11 option.
+ *
+ * @subsection meson Using Meson
+ *
+ * If using <a href="https://mesonbuild.com/">Meson</a>, include the following
+ * in @c meson.build:
+ * @code
+ * sigc_dep = dependency('sigc++-2.0')
+ * program_name = 'program'
+ * cpp_sources = [ 'program.cc' ]
+ * executable(program_name,
+ * cpp_sources,
+ * dependencies: sigc_dep
+ * )
+ * @endcode
+ *
+ * Your @c dependencies: keyword argument should also mention any other libraries
+ * that you need to use.
*
* @subsection autotools Using Autotools
*