summaryrefslogtreecommitdiffstats
path: root/build2/version
Commit message (Collapse)AuthorAgeFilesLines
* Add support for $ and shortcut operator in dependency constraintKaren Arutyunov2019-01-302-23/+28
|
* Update copyright yearKaren Arutyunov2019-01-1611-11/+11
|
* Adapt to standard version API changeKaren Arutyunov2019-01-121-4/+7
|
* Adjust tracing level for few noisy casesBoris Kolpackov2018-11-161-2/+5
|
* Add config.{c,cxx}.{id,version,target} configuration variablesBoris Kolpackov2018-10-261-3/+4
| | | | | | | These variables allow overriding guessed compiler id/version/target, for example, in case of mis-guesses or when working with compilers that don't report their base (e.g., GCC, Clang) with -v/--version (common in the embedded space).
* Make project variable to be of project_name typeKaren Arutyunov2018-07-302-8/+19
|
* Implement bash moduleBoris Kolpackov2018-07-202-11/+13
|
* Reimplement version::in_rule in terms of in::ruleBoris Kolpackov2018-07-174-434/+157
| | | | | Significantly, the version::in_rule rule now track changes to the substitution values.
* Implement in moduleBoris Kolpackov2018-07-162-28/+12
| | | | | | | | | | | | | | | | | | | | Given test.in containing something along these lines: foo = $foo$ Now we can do: using in file{test}: in{test.in} file{test}: foo = FOO The alternative variable substitution symbol can be specified with the in.symbol variable and lax (instead of the default strict) mode with in.substitution. For example: file{test}: in.symbol = '@' file{test}: in.substitution = lax
* Enter config.dist.uncommitted in dist module, make omittedBoris Kolpackov2018-07-031-9/+1
| | | | | | | One side-effect of doing this in the version module (where it is still used and enforced) was that dist module configuration (e.g., in an amalgamation) did not include this variable (and which was then duplicated in each subproject).
* Implement support for excluded and ad hoc prerequisitesBoris Kolpackov2018-06-281-0/+3
| | | | | | | | | | | | | | The inclusion/exclusion is controlled via the 'include' prerequisite-specific variable. Valid values are: false - exclude true - include adhoc - include but treat as an ad hoc input For example: lib{foo}: cxx{win32-utility}: include = ($cxx.targe.class == 'windows') exe{bar}: libs{plugin}: include = adhoc
* Update copyright yearKaren Arutyunov2018-05-1911-11/+11
|
* Clean up version module (remove doc_rule, tighten manifest target type)Boris Kolpackov2018-05-193-148/+1
|
* Get rid of doc{version} and types for testscript and manifest in buildfilesKaren Arutyunov2018-05-191-3/+3
|
* Add missing build2/version/utility.?xx filesBoris Kolpackov2018-05-192-0/+103
|
* Implement manifest installation rule in version moduleBoris Kolpackov2018-05-194-62/+87
|
* Search for .git in directories outer to src_rootBoris Kolpackov2018-05-141-5/+11
| | | | Failed that we can't handle multi-package projects.
* Fix git commit timestamp extraction to be (really) in UTC (I promise)Boris Kolpackov2018-04-241-4/+8
|
* Add support for config.dist.uncommittedBoris Kolpackov2018-03-202-4/+24
|
* Come up with better version for uncommitted snapshotsBoris Kolpackov2018-03-204-23/+59
| | | | | | 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.
* Use 12 instead of 16-characters for abbreviated git commit idBoris Kolpackov2018-03-201-1/+1
| | | | This should help a bit with long paths on Windows.
* Change git <snapsn> format in stdver to YYYYMMDDhhmmssBoris Kolpackov2018-03-201-3/+12
|
* Get rid of action rule override semanticsBoris Kolpackov2018-02-033-25/+25
| | | | | Instead we now have two more or less separate match states for outer and inner parts of an action.
* Complete runtime/stdlib detectionBoris Kolpackov2018-01-081-1/+4
|
* Load config.build in init(), not boot()Boris Kolpackov2018-01-042-2/+4
| | | | We now make sure the config module is init'ed first.
* Fix few undefined behavior (ubsan) bugsBoris Kolpackov2018-01-021-1/+1
|
* Improve process execution diagnostics by reusing run_*() APIBoris Kolpackov2017-12-161-3/+5
|
* Fix git commit id calculationBoris Kolpackov2017-12-091-58/+83
|
* Add in.substitution={strict|lax}Boris Kolpackov2017-11-113-18/+103
| | | | | | | | | | | | | | | | | | 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-103-18/+70
| | | | | | | | | | 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
* Adapt to modularization of libbutlKaren Arutyunov2017-10-031-2/+2
|
* Make use of libpkgconf libraryKaren Arutyunov2017-09-251-1/+1
|
* Add ability to pass scope to buildfile functions, add $install.resolve()Boris Kolpackov2017-09-111-2/+2
|
* Handle git submodules in version moduleBoris Kolpackov2017-09-061-2/+4
|
* Move support for disabling cleaning to common functionsBoris Kolpackov2017-08-231-5/+0
|
* Add support for not cleaning generated version fileBoris Kolpackov2017-08-201-0/+5
|
* Add version, project.summary, project.url built-in variablesBoris Kolpackov2017-08-011-3/+14
| | | | | Extract them from manifest in the version module. Use them when generating the pkg-config's .pc files.
* Dereference pointer when printingBoris Kolpackov2017-06-191-1/+1
|
* Remove few unused lambda capturesBoris Kolpackov2017-06-121-1/+1
|
* Add hxx extension for headersKaren Arutyunov2017-05-019-55/+55
|
* Set version.stub variableBoris Kolpackov2017-04-291-0/+2
|
* Add support for stub versions in version moduleBoris Kolpackov2017-04-292-3/+7
|
* Improve version checkBoris Kolpackov2017-04-281-3/+10
|
* Align build.version.* variables with standard version/version moduleBoris Kolpackov2017-04-281-14/+5
|
* Use standard_version for module versioning checksBoris Kolpackov2017-04-282-8/+1
|
* Implement support for pre-processing version headers (or other files)Boris Kolpackov2017-04-284-36/+545
| | | | Also implement the build system version check.
* Pass target to prerequisite searchBoris Kolpackov2017-04-271-1/+1
|
* Implement version moduleBoris Kolpackov2017-04-269-0/+730
|
* Rename version header to version-impl to give way to version moduleBoris Kolpackov2017-04-251-37/+0
|
* Update copyright yearBoris Kolpackov2017-01-051-1/+1
|