added export config generation for build and install code trees