Build server for CUDA-based programs.

Hi all,
I’m not very familiar with CUDA, but I do have a question.
I have a build server running Jenkins, and I need to compile software that uses CUDA. This build server does not have GPU’s. Is having said GPUs a requirement for compiling code that uses it, or can I build if I have the appropriate libraries to pull in?