add cpp to mac project