adds the right cpp files for compilation