summaryrefslogtreecommitdiffstats
path: root/build2/utility.hxx
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearKaren Arutyunov2019-01-161-1/+1
|
* Only search for external tools (compilers, linkers, etc) in PATHBoris Kolpackov2018-11-051-1/+10
| | | | | | | Specifically, omit the current executable's directory on Windows since there is no reason for them to be found there automagically and this can lead to surprising behavior (for example, our MinGW GCC being used instead of the user's even though the user's is in PATH before ours).
* Fix typoBoris Kolpackov2018-11-021-1/+1
|
* Add config.{c,cxx}.{id,version,target} configuration variablesBoris Kolpackov2018-10-261-1/+3
| | | | | | | 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).
* Unset CL and _CL_ environment variables when detecting MSVCBoris Kolpackov2018-08-211-12/+12
|
* Make project variable to be of project_name typeKaren Arutyunov2018-07-301-7/+9
|
* Add $process.run() and $process.run_regex() functionsBoris Kolpackov2018-06-201-4/+8
| | | | | | | | | | | | | | $process.run(<prog>[ <args>...]) Return trimmed stdout. $process.run_regex(<prog>[ <args>...], <pat> [, <fmt>]) Return stdout lines matched and optionally processed with regex. Each line of stdout (including the customary trailing blank) is matched (as a whole) against <pat> and, if successful, returned, optionally processed with <fmt>, as an element of a list.
* Use portable environment variable manipulation functionsKaren Arutyunov2018-06-151-2/+5
|
* Update copyright yearKaren Arutyunov2018-05-191-1/+1
|
* Adjust to libbutl changesBoris Kolpackov2018-05-141-1/+1
|
* Move trim(), next_word() to libbutlBoris Kolpackov2018-04-281-34/+3
|
* Implement run buildfile directiveBoris Kolpackov2018-04-261-11/+30
| | | | | | | Now we can do: run echo 'foo = bar' print $foo
* Strip out_root when hashing linker input pathsBoris Kolpackov2018-03-211-0/+14
| | | | | This allows moving out_root of simple projects (no rpath, -I$out_root, or similar) without causing a re-link which we use for testing.
* Remove unnecessary qualificationBoris Kolpackov2018-01-161-1/+1
|
* Implement compiler_info cachingBoris Kolpackov2018-01-081-10/+15
|
* Complete runtime/stdlib detectionBoris Kolpackov2018-01-081-32/+51
|
* Extend find_option_prefix() to return optionBoris Kolpackov2018-01-051-11/+14
|
* Improve process execution diagnostics by reusing run_*() APIBoris Kolpackov2017-12-161-23/+111
|
* Fix Clang on Windows C runtime library linking logicBoris Kolpackov2017-12-111-1/+1
|
* Fix git commit id calculationBoris Kolpackov2017-12-091-4/+7
|
* Recognize empty cc.patternBoris Kolpackov2017-12-041-2/+2
|
* Add extra library search paths as -L optionsBoris Kolpackov2017-11-241-0/+17
|
* Move eof() utility to libbutlBoris Kolpackov2017-11-211-0/+2
|
* Add throw_system_error to utilityBoris Kolpackov2017-10-131-0/+1
|
* Adapt to modularization of libbutlKaren Arutyunov2017-10-031-2/+2
|
* Adjust bootstrap not to need pre-generated version.hxxBoris Kolpackov2017-08-201-1/+12
|
* Filter out warning as error options during preprocessingBoris Kolpackov2017-08-061-10/+16
|
* Print progress to terminal by defaultKaren Arutyunov2017-08-061-0/+2
|
* Clean up module-related diagnosticsBoris Kolpackov2017-06-161-0/+5
|
* Add workaround for Clang module import during preprocessingBoris Kolpackov2017-06-121-0/+9
|
* Add hxx extension for headersKaren Arutyunov2017-05-011-0/+436