Select all songs as compilations
Command+A -> Command+I -> Options -> Part of Compilation -> Yes -> OK

Not sure why you'd want to do this and I didn't test it because I don't want to do this to my library but that should be it.