You can have a custom target type build_properties...
# general
h
You can have a custom target type build_properties() or whatever, which takes whatever args you need to generate the file.