User forums > Using Code::Blocks

building gtk project in all platform

(1/1)

denisco:
I made a simple gtk project based on the default in CB windows but when I try to build it in the linux version it does not build.

How do I make it build on both platform ?

I made a test generating the default project in linux and I see the build option being very diferent.
And I am wondering if there is a way to combine either by using #ifdef something : option for each platform?

Jenna:
Scripting can be used to setup the build parameters dynamically:

http://wiki.codeblocks.org/index.php?title=Build_scripts
http://wiki.codeblocks.org/index.php?title=Scripting_commands

Navigation

[0] Message Index

Go to full version