@biplab : This is something I have been thinking about for a long time. What about a wx project wizard for multiple platforms, giving you 4 targets :
1) Debug(linux)
2) Release(linux)
these 2 only for platform::linux
3) Debug(windows)
4) Release(windows)
these 2 only for platform::windows
Would be very cool, I myself am always manually copy/pasting cbp's to have the same project file for win and linux ...
A wizard to make portable projects would be very cool. If done it is needed to support different compilers on different platforms. I have done this for almost a year already, it almost works fine, I use 4 build targets
Debug_W32/Release_W32 : Windows XP with MS Visual Studio 2005 Express C++ compiler
Debug_UX/Release_UX : Linux Kubuntu 7.04/7.10 with GCC
The .cbp file was edited in a text editor to contain the 4 build targets. References to wxWidgets and other libraries in the build options always use C::B global variables which are different on different platforms. That way the .cbp file is independent on where libraries used are installed.
This works fine except that
a) You cannot compile individual files explicitely. You must always "build" the project.
b) Multiple warning dialogs about non-existing MSVC8 compiler is given for the Windows build targets when opening the project on Linux, even though the Windows build target is specified to be Windows only.
Given these limitations, it works ok. The .cbp, wxSmith and C++ files can be copied back and forth without problems. Komparator on Kubuntu is a great tool for such copying.
So a wizard to support this scenario would be most welcome. :lol: