diff options
| author | William A. Kennington III <wak@google.com> | 2019-03-23 21:05:48 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2019-03-29 15:10:15 -0700 |
| commit | 2584f9d7b91e2d14ddc9bdcb45fc5133a083b522 (patch) | |
| tree | e6cb265a5088b3fbc3ace4568d45c588c9ef5bcc /example/meson.build | |
| parent | 9ce0d10bd5f10c9aa218817df879388d7d169379 (diff) | |
| download | sdeventplus-2584f9d7b91e2d14ddc9bdcb45fc5133a083b522.tar.gz sdeventplus-2584f9d7b91e2d14ddc9bdcb45fc5133a083b522.zip | |
example/heartbeat: Add signal handling
This makes the example a little more interesting as we now have multiple
sources and we can analyze memory safety with valgrind by just sending a
SIGINT to quit cleanly.
Change-Id: Id15fe58f798d3b137f91228025f48a5e4cd5fc50
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'example/meson.build')
| -rw-r--r-- | example/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/meson.build b/example/meson.build index 1f18444..ea04ff5 100644 --- a/example/meson.build +++ b/example/meson.build @@ -9,5 +9,6 @@ foreach example : examples executable(example, example + '.cpp', include_directories: includes, implicit_include_directories: false, - link_with: sdeventplus) + link_with: sdeventplus, + dependencies: stdplus) endforeach |

