aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-23Fix few typosBoris Kolpackov1-3/+3
2017-11-23Minor changeBoris Kolpackov1-1/+1
2017-11-22Remove -Xclang module options that seem to be passed by default in trunkBoris Kolpackov1-5/+1
2017-11-22Enable module re-export tests for ClangBoris Kolpackov1-1/+0
This support has been merged into trunk.
2017-11-22Fix dist bug where missing source file would be silently ignoredBoris Kolpackov8-48/+101
2017-11-22Improve diagnosticsBoris Kolpackov1-1/+2
2017-11-22Streamline skip count diagnosticsBoris Kolpackov1-1/+1
2017-11-21Recursively check timestamps of libraries we are linkingBoris Kolpackov2-6/+28
2017-11-21Move eof() utility to libbutlBoris Kolpackov2-17/+3
2017-11-21Filter VC preprocessor diagnosticsBoris Kolpackov1-54/+79
It turns out VC may still print include notes after issuing errors.
2017-11-21Diagnose failure to open depdbBoris Kolpackov2-16/+40
The cause is often a missing fsdir{} if the user tries to stash the target in a subdirectory.
2017-11-21Improve skipped update diagnosticsBoris Kolpackov4-11/+36
Instead of printing a line for each target skipped we now print a summary with count at the end. We also now show the skip count in progress.
2017-11-20Only add /usr/local/{include,lib} if compiler added /usr/includeBoris Kolpackov1-14/+25
This makes sure we don't mess up cross-compilations or even native compilations with a custom sysroot.
2017-11-20Recognize CRLF sequences for line escaping in cc::lexerBoris Kolpackov1-0/+14
2017-11-20Handle case when compiler-reported header does not existBoris Kolpackov1-1/+16
This, for example, happens when compiling under wine with file wlantypes.h included as WlanTypes.h.
2017-11-20Add test for prerequisite-specific variablesBoris Kolpackov2-0/+76
2017-11-20Add support for dumping prerequisite-specific variablesBoris Kolpackov2-51/+115
2017-11-20Implement dump directiveBoris Kolpackov4-24/+162
It can be used to print (to stderr) a human-readable representation of the current scope or a list of targets. For example: dump # Dump current scope. dump lib{foo} details/exe{bar} # Dump two targets. This is primarily useful for debugging as well as to write build system tests.
2017-11-15Enter outer prefixes in generated header prefix mapBoris Kolpackov2-25/+73
2017-11-13Quote names that contain wildcard charactersBoris Kolpackov1-0/+1
2017-11-11Add in.substitution={strict|lax}Boris Kolpackov3-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.
2017-11-10Relax substitution requirements, add alternative symbol in version .in supportBoris Kolpackov3-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
2017-11-10Add $directory(), $base(), $leaf() and $extension() functionsKaren Arutyunov2-0/+213
2017-11-09Add support for for-loopBoris Kolpackov14-20/+342
The semantics is similar to the C++11 range-based for: list = 1 2 3 for i: $list print $i Note that there is no scoping of any kind for the loop variable ('i' in the above example). See tests/loop/for.test for some examples/ideas. In the future the plan is to also support more general while-loop as well as break and continue.
2017-11-09Initial support for prerequisite-specific variables, use for bin.wholeBoris Kolpackov7-40/+182
2017-11-09Fix bug in handling of empty target name prefixes (e.g., bin.lib.prefix)Boris Kolpackov2-2/+2
2017-11-06Revert back to using -fmodule-file for GCC and ClangBoris Kolpackov1-35/+119
Seeing that it's unclear if/when our patches for -fmodule-file-map will be accepted.
2017-11-06Translate 'latest' to C++2a for GCC 8Boris Kolpackov1-2/+2
2017-10-30Update config submoduleBoris Kolpackov1-0/+0
2017-10-30Pass --text option for diff utility on WindowsKaren Arutyunov1-0/+8
2017-10-20Update documentationBoris Kolpackov2-7/+8
2017-10-19Add support for MinGW bootstrap using bootstrap.gmake makefileBoris Kolpackov1-6/+20
2017-10-17Cosmetic changesBoris Kolpackov1-15/+10
2017-10-17Adjust stack size on Linux, FreeBSD and MacOSKaren Arutyunov1-25/+96
2017-10-17Fortify header dependency extraction against inconsistent behaviorBoris Kolpackov1-6/+19
2017-10-17Adjust max-threads multiplier for 32-bit because of stack size increaseBoris Kolpackov3-4/+5
2017-10-17Adjust stack size on WindowsBoris Kolpackov1-0/+14
2017-10-16Update libpkgconf version dependency in manifest fileKaren Arutyunov1-1/+1
2017-10-13Add throw_system_error to utilityBoris Kolpackov1-0/+1
2017-10-13Make scheduler threads inherit stack size from main threadKaren Arutyunov2-5/+65
2017-10-10Fix thread hygine issueBoris Kolpackov1-2/+8
2017-10-08Fix crashing on empty installation directory nameKaren Arutyunov1-0/+3
2017-10-06Fix old .ilk files cleanupKaren Arutyunov1-2/+2
2017-10-06Fix old libs cleanup not to remove unrelated filesKaren Arutyunov1-2/+8
2017-10-04Add ignore_error parameter for functions that check file system entry existenceKaren Arutyunov3-14/+13
2017-10-03Adapt to modularization of libbutlKaren Arutyunov33-69/+69
2017-10-03Extract system header search paths from GCC or compatibleBoris Kolpackov12-31/+213
2017-10-02Add additional notes to module documentationBoris Kolpackov1-8/+21
2017-09-29Allow pattern group to start with inclusionKaren Arutyunov3-73/+248
2017-09-26Modules documentation proofreading changesBoris Kolpackov1-30/+31