Hi guys,
I had some time and played with Code::Blocks. I am very impressed by the ease of how I can configure my projects and fairly quickly where able to compile my code (read compile: not linking yet ;-) ) .. I am excited about the editor as it has many features a mature IDE has, which ofcourse speeds up my development.
I was wondering what the best way is to create a project that can be used on both linux and windows. Is this a realistig thought? Let me explain what I want to do:
On linux I compile and install wxWidgets ofcourse like usual, make, make install, ldconfig, the works. I could suffice I guess by adding `wx-config --cppflags` as option for compiling and `wx-config --libs` for linking. This would go as painless as that and stay compatible with my current installed distrib.
Under windows this is much more problematic, as I have to have GCC compatible libraries to link to for debug information. I thought I could use MSYS to build wxWidgets, and simply point to that directory. However then I miss the flags that wx-config would produce.
My question is, is there a x-platform way to use wxWidgets and not change the project settings ? Or is there a windows / linux section in the build options in which one could maybe seperate different kind of flags?
I have read about the devpak but after configuring the plugin I only saw wx2.2.9 as devpak which is ofcourse terribly outdated. I have to admit I have not looked into the devpak further then that.
Any ideas are welcome. I post this under the Windows topic as it is a windows only problem now, as i consider linux my main build env. and I want to keep my projects as portable as possible. If I can use the Makefile output of C::B also under Windows (using minGW) then I guess that would also be an option.
Regards,
- Jorgen