add source attaching to build