I'm a C++ beginner and I'm starting to develop my first cross-platform C++ project. I need to use platform-specific calls (Win32 and POSIX) so I need to compile frequently both in Windows and Linux.
Whit single-platform projects I'm using, until now, KDevelop in Linux and Visual Studio 2012 in Windows.
How can I use two different IDEs in two different Operating Systems with the same project?
- Should I use a single, cross-platform, IDE?
- Should I learn CMake (or similar) and configure it to work with both IDEs?
- Could/Should I host my code in the web and sync automatically with offline projects?
- Alternatives?
Thanks in advance to everyone.
EDIT:
Just for clarification, the project will be a simple server for a scholastic protocol. There will be a client asking for upload/retrieve some files to/from the server. With scholastic I mean that, for example, I have to use pthreads/win32 threads instead of an higher level C++ threads library.