News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxWidgets with C::B - Release & Debug Win & Linux configs in one project?

Started by coditoter, August 10, 2014, 08:33:08 PM

Previous topic - Next topic

coditoter

I've cross-compiled MinGW from source using http://wiki.wxwidgets.org/Install_The_Mingw_Cross-Compiler. I use lubuntu 14.04 LTS. But I'm wondering if it's possible to make sth like it:
Create project (...)

  • Release
  • Debug
  • Release_Windows
  • Debug_Windows

In short - 1 project, 4 configs and 2 compilers. I want to use the same source code. Is it possible?
Could anyone help me with cross-compiling wxWidgets to create such configs?

spiderkarma

Yes, I have done this.

To start, add your cross compiler to Settings -> "Compiler and debug settings". Be sure to set the toolchain executables.

I then add build targets (say Windows-Debug and Windows-Release) and change the compiler for those targets to use the cross compiler, the libs to link with cross compiled libs, etc..