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   |
mdelfede
Messages: 1308 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:
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
|
|
|
 |
|
[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: Sat Apr 26 20:35:19 CEST 2025
Total time taken to generate the page: 0.00680 seconds
|