[cpp] add resources to cppia