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 #56959 is a reply to message #56957] |
Tue, 04 May 2021 07:50 |
|
mirek
Messages: 13976 Registered: November 2005
|
Ultimate Member |
|
|
mdelfede wrote on Tue, 04 May 2021 01:30mirek 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:
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
Is it using MatchWhen? It should.
Flags will need to be passed as additional parameter.
|
|
|
|
|
[PROPOSAL] A couple of changes in "import.ext"
By: mdelfede on Fri, 30 April 2021 14:02
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Sat, 01 May 2021 18:19
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Mon, 03 May 2021 08:45
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Tue, 04 May 2021 07:50
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Tue, 04 May 2021 08:18
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Tue, 04 May 2021 23:21
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Wed, 05 May 2021 14:25
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Thu, 06 May 2021 08:09
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Sat, 15 May 2021 10:35
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Mon, 17 May 2021 09:59
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Mon, 17 May 2021 10:08
|
|
|
Re: [PROPOSAL] A couple of changes in "import.ext"
By: mirek on Mon, 17 May 2021 10:35
|
Goto Forum:
Current Time: Sun May 12 01:33:17 CEST 2024
Total time taken to generate the page: 0.03593 seconds
|