I wonder if and how people are solving the problem of compiling for multiple platforms in Carbide C++? That is, when there is a common code base.
Lets say I want to write an app which runs on S60v2.6, S60v3.0, UIQv2.1 and UIQv3.0. In this case there will be alot of common code, Symbian OS level common code, S60 common code etc so of course I would only want to maintain it in one location but in Carbide, project directories are tightly coupled to project definitions so it doesn't seem easy at all to have two projects pointing to the same source as you would naturally
I solved the problem by having one project for each platform and in each project I define linked folders which point to the common codebase. I think define the linked folders as source folders as needed. It would be really nice to be able to define them as include folders as well!! but unfortunately that has to be done tediously.
Would love to hear if anyone has solved this more elegantly. If anyone wants a more detailed description of my solution, let me know. Maybe I'm missing something obvious.