cmake: export to different directory, export more build info