aboutsummaryrefslogtreecommitdiff
path: root/build2/token.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10Generalize target/prerequisite var block, initial ad hoc target workBoris Kolpackov1-0/+3
Target/prerequisite-specific variable blocks can now be present even if there are prerequisites. For example, now instead of: exe{foo}: cxx{foo} exe{foo}: cc.loptions += ... Or: exe{foo}: cxx{foo} exe{foo}: { cc.loptions += ... cc.libs += ... } We can write: exe{foo}: cxx{foo} { cc.loptions += ... cc.libs += ... } This also works with dependency chains in which case the block applies to the set of prerequisites (note: not targets) before the last ':'. For example: ./: exe{foo}: libue{foo}: cxx{foo} { bin.whole = false # Applies to the libue{foo} prerequisite. }
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2017-05-01Add hxx extension for headersKaren Arutyunov1-1/+1
2017-04-26Fix bug in pair handlingBoris Kolpackov1-1/+1
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-12-05Add comma, ternary, logical operators support in eval contextBoris Kolpackov1-3/+14
2016-11-04Change token type 'name' to more general 'word'Boris Kolpackov1-1/+1
2016-11-04Handle printing of extended tokensBoris Kolpackov1-22/+27
2016-07-20Implement support for <, >, <=, >= in eval contextBoris Kolpackov1-0/+4
Now can write: if ($build.version > 30000)
2016-04-05Add support for scope/target-qualified variable expansionBoris Kolpackov1-14/+14
For example: print $(dir/:var) print $(file{target}:var) print $(dir/file{target}:var) Note that if the scope/target does not (yet) exists, it will be created.
2016-04-02Add attribute syntax infrastructureBoris Kolpackov1-0/+2
2016-02-12<types>/<utility> scheme cleanupBoris Kolpackov1-2/+0
2016-01-21Add support for ==, != in eval contextBoris Kolpackov1-0/+2
2016-01-21Rename equal token to assign, etcBoris Kolpackov1-3/+3
2016-01-09Update copyright yearBoris Kolpackov1-1/+1
2016-01-05Rename build directory/namespace to build2Boris Kolpackov1-0/+35