Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: labidus on June 19, 2013, 12:10:34 am
-
I was working for few month on linux with code::blocks, got a big project with a lot of libs.
Now back on windows, the project open and I can compile, I setuped GCC with latest version, I use MinGW & cygwin.
My problem is some library on linux don't use the same name on windows, for example GLEW on linux vs GLEW32 on windows even if its a 64 bits app.
This is one of my problem, so I cannot specify different lib for a platform, is they are way to do this in my project?
Anyway thankyou in advance for any help!
-
Create a new project for every configuration like "yourproject" or "your project-unix"
or different configurations in the same project.
-
You can also use this: http://wiki.codeblocks.org/index.php?title=Global_compiler_variables
-
thanks I will take a look with the global var.
Having 2 projects is no good since I need to sync them, but the other way I see is to add build target for windows, its maybe the best solution since it only change the compilation and link settings.