Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » what is "fixed flags" for?
what is "fixed flags" for? [message #39710] |
Fri, 19 April 2013 12:49 |
piotr5
Messages: 107 Registered: November 2005
|
Experienced Member |
|
|
I added -std=c++0x to the fixed flags got a funny error. obviously this option in the build-methods-setup is just setting up a definition named flag<something> where <something> is what you entered there, and additionally the output-directory changes accordingly. wouldn't it be more useful if the sting entered there would go into commandline directly without "flag", but still as a define-option? of course then rename it into "fixed defines" or something. then for example you could alter the way stl gets compiled on a global scale, even when upp-packages wont get used...
|
|
|
Re: what is "fixed flags" for? [message #39715 is a reply to message #39710] |
Fri, 19 April 2013 17:27 |
|
Hi piotr5,
The "fixed flags" only affects (as the name suggest ) build flags. To specify compiler options for debug mode, you can use "debug options". To set options for both debug and release modes, you simply add the options directly in the "compiler name" field (e.g.: 'gcc -std=c++0x').
Best regards,
Honza
PS: Almost forgot to answer your question Fixed flags in debug mode can be used e.g. to allow some extra logging (using #ifdef flagXYZ inyour code) for given build method. Than you can switch such functionality on/off simply by switching between two, otherwise same, build methods. At least that is what I use it for sometimes...
[Updated on: Fri, 19 April 2013 17:31] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Mar 28 21:31:36 CET 2024
Total time taken to generate the page: 0.01286 seconds
|