aboutsummaryrefslogtreecommitdiff
path: root/build2/version/init.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-11-11Add in.substitution={strict|lax}Boris Kolpackov1-7/+29
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/+10
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-10-03Adapt to modularization of libbutlKaren Arutyunov1-2/+2
2017-08-01Add version, project.summary, project.url built-in variablesBoris Kolpackov1-3/+14
Extract them from manifest in the version module. Use them when generating the pkg-config's .pc files.
2017-05-01Add hxx extension for headersKaren Arutyunov1-11/+11
2017-04-29Set version.stub variableBoris Kolpackov1-0/+2
2017-04-29Add support for stub versions in version moduleBoris Kolpackov1-2/+6
2017-04-28Align build.version.* variables with standard version/version moduleBoris Kolpackov1-14/+5
2017-04-28Use standard_version for module versioning checksBoris Kolpackov1-6/+1
2017-04-28Implement support for pre-processing version headers (or other files)Boris Kolpackov1-4/+74
Also implement the build system version check.
2017-04-26Implement version moduleBoris Kolpackov1-0/+295