Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Conan Kudo on December 06, 2009, 10:48:23 pm
-
Hello,
Is it possible to have a single project to support multiple compiler configurations for build targets?
-
Hello,
Is it possible to have a single project to support multiple compiler configurations for build targets?
Yes.
You can chose different compilers for each target.
Just right-click your project, click on build options and change the compiler on the target level.
I have cross-compiling targets with "normal" gcc for linux and i586mingw32-cross-compiler for windows builds, they all share the same (wxwidgets)-project, but have different target-specific settings (calls to wx-config, library search-paths etc.)
-
Hello,
Is it possible to have a single project to support multiple compiler configurations for build targets?
Yes.
You can chose different compilers for each target.
Just right-click your project, click on build options and change the compiler on the target level.
I have cross-compiling targets with "normal" gcc for linux and i586mingw32-cross-compiler for windows builds, they all share the same (wxwidgets)-project, but have different target-specific settings (calls to wx-config, library search-paths etc.)
That's still technically the same compiler. I'm talking about gcc, msvc, and openwatcom configurations.
-
That's still technically the same compiler. I'm talking about gcc, msvc, and openwatcom configurations.
Yes, I am doing it. Just try as Jens said.
BTW: There is no difference whether it's a "same" compiler or not. Why should be??? :shock: