User forums > Using Code::Blocks

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

(1/1)

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..

Navigation

[0] Message Index

Go to full version