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 » Community » U++ community news and announcements » ide: main.conf
Re: ide: main.conf [message #40717 is a reply to message #40714] Sun, 08 September 2013 16:50 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

mirek wrote on Sun, 08 September 2013 11:04

Quote:

Wouldn't it be better to use existing "Add/Remove flags" functionality of Package manager for this? To use your example, the package that wants to include it own font handling could just have "flags CUSTOM_FONTSYS;" in .upp file and Draw package would then turn off the generic font handling based on #ifdef flagCUSTOM_FONTSYS. I'm aware that main.conf as you designed it will allow much more than this, but I'm not sure if it is really necessary.


I do not really see a difference with breaking stuff one way or another... Smile

The difference is that the stuff with flags is already implemented in the Makefile Smile The main.conf.h would mean to add that feature. It sure can be done, it just additional obstacle.

mirek wrote on Sun, 08 September 2013 11:04

Add/remove packages work for package compiled and do not allow to define values.

Yes, it does, perhaps not intentionally Very Happy You can define a flag as XYZ=42 in package manager and it results in -DflagXYZ=42 being appended to the compiler command line.

Anyway, if you decide to use it somewhere in the core packages, please let me know that I have to implement matching functionality. I use the universal makefile not only for compilation of theide in the linux packages but also for my own projects (e.g. to deploy them on OpenShift).

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New small hidden feature of ArrayCtrl
Next Topic: *Maps syntax sugar
Goto Forum:
  


Current Time: Sun Aug 24 15:20:09 CEST 2025

Total time taken to generate the page: 0.07115 seconds