Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » [Solved] Default compiler flags
Re: Default compiler flags [message #40152 is a reply to message #40147] Sun, 23 June 2013 19:02 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

keltor wrote on Fri, 21 June 2013 09:57

And sadly, it adds the default options at the end of the compilation command, thus overriding the ones I specify.

Does anyone know of a way to tame U++ into accepting my optimisations?

Thanks,

Kel


Hi Kel,

Judging from a quick glance into the code in MscBuilder.icpp, I believe that the simplest way to force your optimizations would be to set them on package level. The compiler options set for package in Package organizer should be appended at the end of the command-line, thus overriding the previous arguments. I did not test it though, as I don't have windows Smile

It might be actually wise to set such options only for the package(s) that contain computation heavy code, otherwise your whole binary might get way too big in size and/or take longer to compile.

There are other options too, but I guess that modifying TheIDE just to make it work is not something you'd really prefer Smile

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FEATURE] PCH support
Next Topic: Visual Studio 2012
Goto Forum:
  


Current Time: Sun Apr 28 07:54:59 CEST 2024

Total time taken to generate the page: 0.04588 seconds