Set libraryProject flag and disabled TR generation