Clone in a terminal:
#! /usr/bin/env python

top = '.'
out = 'build'

def options(opt):
	opt.load('compiler_cxx')

def configure(conf):
	conf.load('compiler_cxx protoc')

def build(bld):
	bld(
		features = 'cxx cxxshlib',
		source   = ['inc/message.proto'],
		target   = 'somelib',
		includes = ['.', 'inc'])

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112