diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-10-12 13:10:13 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-10-12 13:10:13 +0200 |
commit | a70a6f6e4484fb05426c79ab9e7231ec11c54142 (patch) | |
tree | de4eb0b76ea06dad44a916b7747bde99ec74a4fc | |
parent | 179907ee861f3c465e1208d318695d5841245e81 (diff) | |
download | sigc++-a70a6f6e4484fb05426c79ab9e7231ec11c54142.tar.gz |
sigc++/sigc++.h: Describe how to use libsigc++ with meson
-rw-r--r-- | sigc++/sigc++.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sigc++/sigc++.h b/sigc++/sigc++.h index 84f367f..5b1f812 100644 --- a/sigc++/sigc++.h +++ b/sigc++/sigc++.h @@ -64,6 +64,25 @@ * @code * g++ program.cc -o program `pkg-config --cflags --libs sigc++-3.0` * @endcode + * If your version of g++ is not C++17-compliant be default, + * add the @c -std=c++17 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++-3.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 * |