First of all, I've never developed with Xcode. I have a project that has been developed by me under a certain environment (Linux and emacs) and now some colleagues that use a different environment will work with me. This is a C++ project that uses CMake.

Long story short:

  • I use Linux/emacs. Other developers use mac/Xcode.
  • I use the GNU Makefiles generator. They use Xcode generator.
  • Everything seemed to work ok.

The problem

Xcode developers will use the executable that appears under the Executables list of the Group & Files window of Xcode. They will configure it by double-clicking and add their tweaks (configuring debugging directories, setting environment variables, but more importantly, setting the arguments of the executable).

When a developer (me) changes the CMakeLists.txt (namely to add a new source file), the XCode developers are forced to re-generate their project and they lose all the configuration mentioned above.

Question: Is there a way to avoid this?

If each Xcode developer constantly loses that configuration I would certainly be the only one using CMake. :(

Thanks for your help!

Edit
Report