aboutsummaryrefslogtreecommitdiff
path: root/build2/version/module.hxx
AgeCommit message (Collapse)AuthorFilesLines
2019-08-01Move version build system module to separate libraryKaren Arutyunov1-64/+0
2019-07-01Split build system into library and driverBoris Kolpackov1-3/+3
2019-03-08Use real package names rather than sanitized ones for diagnostics in version ↵Karen Arutyunov1-5/+15
module
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-07-30Make project variable to be of project_name typeKaren Arutyunov1-4/+7
2018-07-17Reimplement version::in_rule in terms of in::ruleBoris Kolpackov1-5/+6
Significantly, the version::in_rule rule now track changes to the substitution values.
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-05-19Implement manifest installation rule in version moduleBoris Kolpackov1-0/+3
2018-03-20Add support for config.dist.uncommittedBoris Kolpackov1-0/+2
2018-03-20Come up with better version for uncommitted snapshotsBoris Kolpackov1-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.
2017-11-11Add in.substitution={strict|lax}Boris Kolpackov1-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.
2017-11-10Relax substitution requirements, add alternative symbol in version .in supportBoris Kolpackov1-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
2017-05-01Add hxx extension for headersKaren Arutyunov1-0/+36