I try to compile a c file to an cgi script. The target add_executable only create an executable file, but the output should be an cgi script with extension .cgi. How can i only compile the objectfile of an .c source without linking it into a a library. Thanks