You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jpakkane edited this page Sep 8, 2014
·
26 revisions
An in-depth tutorial of Meson
In this tutorial we set up a project with multiple targets, unit tests and dependencies between targets. Our main product is a shared library called foo that is written in C++11. We are going to ignore the contents of the source files, as they are not really important from a build definition point of view.
The source tree contains three subdirectories src, include and test that contain, respectively, the source code, headers and unit tests of our project.
To start things up, here is the top level meson.build file.