project('simple-stage', 'cpp', default_options: ['warning_level=3']) stginc = include_directories('/path/to/Stage/libstage') stgdep = meson.get_compiler('cpp').find_library( 'stage', dirs: ['/path/to/stg/lib'], ) library('goforward', 'ctrl/goforward.cc', dependencies: stgdep, include_directories: stginc, ) library('gobackward', 'ctrl/gobackward.cc', dependencies: stgdep, include_directories: stginc, ) library('ttpp', 'ctrl/ttpp.cc', dependencies: stgdep, include_directories: stginc, )