Author Topic: wxWidgets with C::B - Release & Debug Win & Linux configs in one project?  (Read 1788 times)

Offline coditoter

  • Single posting newcomer
  • *
  • Posts: 8
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?

Offline spiderkarma

  • Single posting newcomer
  • *
  • Posts: 3
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..