Add a cpp source file.