Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: mariocup on August 22, 2007, 02:42:31 pm
-
Hi,
I build codeblocks under windows and linux using the CodeBlocks*.cbp files. I think the corresponding project files (also the contrib) should use the project file entry for windows
<Option platforms="Windows;" />
and under linux
<Option platforms="Unix;" />
so the user will get and info
"Code::Blocks" does not support the current platform. Skipping...
if he tries to build codeblocks with a wrong project for his platform.
-
"Code::Blocks" does not support the current platform. Skipping...
Is that the error message that is shown? If so, it must be changed.
-
Hi thomas,
if a codeblocks project does not have a option platforms entry, it will be set automatically to All platforms.
If you build a window project Codeblocks.cbp under linux you can start a build of the project and get different build errors.
So I suggest to add this entry, so the user won't be able to start a build of the project under a wrong platform and gets the info at the message console
"Code::Blocks" does not support the current platform. Skipping...
-
if a codeblocks project does not have a option platforms entry, it will be set automatically to All platforms.
Fully agree on this one. That could be improved.
"Code::Blocks" does not support the current platform. Skipping...
It should be something less frightful, though :)
Maybe "This project is not compatible with the current platform" or better yet, "This project was created on a different platform, it might not be compatible".
"Code::Blocks does not support the current platform" is a bummer 8)
Don't want people to stop using Code::Blocks after they opened a wrong project... :)