I am starting an open source cross platform project in C++. My development environment is Linux. There may be other developers who develop from different platforms as well. So I need some help in getting started with the configuration and development environment setup, so that all developers from multiple platforms can develop easily.
Following are my questions
Any thoughts?
Edit
Thanks for the answers. One more question.
Do you create makefiles by hand? Or is there any tool which can generate it?
The most important thing for your project to catch up is portability. It should be easy to build & run for everybody.
GCC (g++) is indeed the compiler of choice. It comes from the opensource world and is therefore most widely adopted by it.
However, a simple Makefile won't cut it. Generating it using CodeBlocks or any other IDE has a problem: Due to their platform, other developers will probably have to generate their own, but won't necessarily have CodeBlocks at hand, or just don't want to use it.
There exist several different cross-platform build systems, which are IDE-agnostic. Some of them create Makefiles, others don't use make but build on their own.
Edit: to get started with your Open Source project, I also recommending this book by Karl Fogel (available for reading online). Have fun!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With