This is the fourteenth post in my SCons
series. The topic of this post is adding a shortcut for the custom SCons Protoc builder from the previous episodes.
The shortcut is in line with the SConscript simplification approach described in an earlier episode. In this installment, I add a new Proto shortcut to the collection, so the address book SConscript can look like this:
"""AddressBook proto-based library SConscript script""" Import('*') AbProtos = ['person.proto', 'addressbook.proto'] Proto(AbProtos) Lib('addressbook', protos=AbProtos)
The final result is available on my GitHub scons-series repository.