Kyle G.
Kyle G.

Reputation: 880

C++ Collaboration using Git with different IDEs

I have done a good amount of coding for a C++ school project using Visual Studio 2013. Now, for the next leg, I will be working with another student who uses a Mac.

Git seems the obvious choice to facilitate collaboration (we both have experience with it), however neither of us have collaborated on a C++ project using different IDEs before.

Is there a viable solution to IDE-agnostic collaboration (he will likely use Eclipse), such as including only the .cpp and .h files in Git, or would it be easier in the long run for me to change over to Eclipse?

Upvotes: 0

Views: 457

Answers (1)

1615903
1615903

Reputation: 34733

You could use a build tool, such as CMake, and add only the cmake files and source code to version control, and ignore any IDE-specific files. You would then use the import-feature of your IDE to set up the CMake project.

Upvotes: 1

Related Questions