[atkmm/atkmm-2-28] atk/atkmm.h: Show how to use atkmm when building with Meson



commit 34c34d794b5db3fcb4f8c41aac715308a0b9545c
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sun Dec 13 13:14:28 2020 +0100

    atk/atkmm.h: Show how to use atkmm when building with Meson

 atk/atkmm.h | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/atk/atkmm.h b/atk/atkmm.h
index d593ea9..4cd68df 100644
--- a/atk/atkmm.h
+++ b/atk/atkmm.h
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* atkmm - a C++ wrapper for the GLib toolkit
  *
  * Copyright 2002 The gtkmm Development Team
@@ -41,6 +39,21 @@
  * @code
  * g++ program.cc -o program  `pkg-config --cflags --libs atkmm-1.6`
  * @endcode
+ * If your version of g++ is not C++11-compliant by default,
+ * add the @c -std=c++11 option.
+ *
+ * If you use <a href="https://mesonbuild.com/";>Meson</a>, include the following
+ * in @c meson.build:
+ * @code
+ * atkmm_dep = dependency('atkmm-1.6')
+ * program_name = 'program'
+ * cpp_sources = [ 'program.cc' ]
+ * executable(program_name,
+ *   cpp_sources,
+ *   dependencies: [ atkmm_dep ]
+ * )
+ * @endcode
+ *
  * Alternatively, if using autoconf, use the following in @c configure.ac:
  * @code
  * PKG_CHECK_MODULES([ATKMM], [atkmm-1.6])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]