Building a single level in a massive project

When we build a project, but only desire to have a single level loaded, and we choose that level to begin with, does the entire project build or do only the required assets actually get built into the .exe ?

Because I have a pretty simple level, but my project itself has many un-needed materials and assets… and I am running out of VRAM as the project builds.