Create cpp and cmake files