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: Other Features Wishlist and/or Bugs » [PROPOSAL] A couple of changes in "import.ext"
Re: [PROPOSAL] A couple of changes in "import.ext" [message #56957 is a reply to message #56946] Tue, 04 May 2021 01:30 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
mirek wrote on Mon, 03 May 2021 08:45


Yes. I gave you a pointer to the code, did not I?


Yep, and the part 1 is almost done. I just need to know which flags are available at build time and how to read them... if you
can point me in the right direction you'll spare me some time.
By now I added an optional (flags) part, where 'flags' can be any expression, for example:
TRUE
true
1
FALSE
false
0
!flag && (flag1 || flag2)
!flag && flag1 || flag2

with ! (or ~) is the negation, && is AND, || is OR, precedence is UNARY > && > ||.

For example:
files mypath/*.cpp;


Behaves as usual.
files(flagPosix && !flagSomething) mypath/*.cpp;

fetches the files only if flagPosix is true and flagSomething is false.
This applies also to other items (include, exclude, etc).


Just need to evaluate the flag(s) and it's complete.

Ciao

Max

[Updated on: Tue, 04 May 2021 01:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Import external library - Include files depending on OS
Next Topic: [BUG] Preprocess + pkg-config
Goto Forum:
  


Current Time: Sun May 12 12:10:27 CEST 2024

Total time taken to generate the page: 0.01695 seconds