summaryrefslogtreecommitdiffstats
path: root/build2/version/module.hxx
Commit message (Collapse)AuthorAgeFilesLines
* Make project variable to be of project_name typeKaren Arutyunov2018-07-301-4/+7
|
* Reimplement version::in_rule in terms of in::ruleBoris Kolpackov2018-07-171-5/+6
| | | | | Significantly, the version::in_rule rule now track changes to the substitution values.
* Update copyright yearKaren Arutyunov2018-05-191-1/+1
|
* Implement manifest installation rule in version moduleBoris Kolpackov2018-05-191-0/+3
|
* Add support for config.dist.uncommittedBoris Kolpackov2018-03-201-0/+2
|
* Come up with better version for uncommitted snapshotsBoris Kolpackov2018-03-201-2/+8
| | | | | | Instead of leaving it as .z we now take the date of the previous commit and increment it by a second. The main benefit of doing it this way is that once committed, the new version does not "jump back" behind .z.
* Add in.substitution={strict|lax}Boris Kolpackov2017-11-111-1/+2
| | | | | | | | | | | | | | | | | | In the strict mode every substitution symbol is expected to start a substitution with the double symbol (e.g., $$) serving as an escape sequence. In the lax mode a pair of substitution symbols is only treated as a substitution if what's between them looks like a build2 variable name (i.e., doesn't contain spaces, etc). Everything else, including unterminated substitution symbols is copied as is. Note also that in this mode the double symbol is not treated as an escape sequence. The lax mode is mostly useful when trying to reuse existing .in files, for example from autoconf. Note, however, that the lax mode is still stricter than the autoconf's semantics which also leaves unknown substitutions as is.
* Relax substitution requirements, add alternative symbol in version .in supportBoris Kolpackov2017-11-101-0/+2
| | | | | | | | | | Give this (legacy) version.h.in: Can now do: h{version}: in{version} file{$src_root/manifest} h{version}: in.symbol = '@' h{version}: FOO = $project.version
* Add hxx extension for headersKaren Arutyunov2017-05-011-0/+36