aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/msvc.cxx
AgeCommit message (Collapse)AuthorFilesLines
2022-12-07Add MSVC library type cachingBoris Kolpackov1-9/+24
2022-12-05Skip common .pc file for binless if found but rejected binful (GH issues #235)Boris Kolpackov1-21/+40
2022-11-23Rework diag_buffer interface to facilitate correct destruction orderBoris Kolpackov1-3/+3
2022-11-08Make process exit diagnostics consistentBoris Kolpackov1-1/+1
In particular, we now always print error message on non-0 exit except in cases where such exit is ignored.
2022-11-08More work on child process diagnostics bufferingBoris Kolpackov1-3/+3
2022-10-28Add ability to disable diagnostics buffering (--no-diag-buffer)Boris Kolpackov1-4/+4
2022-10-27Initial work on child process diagnostics bufferingBoris Kolpackov1-7/+18
Currently this is implemented for C/C++ compile and link rules.
2021-10-01Add notion of internal scope, translate external -I to -isystem or equivalentBoris Kolpackov1-6/+9
2021-06-21Add support for automatic generation of symbol exporting .def fileBoris Kolpackov1-3/+8
2021-05-13Extract MSVC header/library search paths from INCLUDE/LIB envvarsBoris Kolpackov1-29/+48
2021-01-11Use link.exe /LIB rather than /DUMP approach to detect library typeBoris Kolpackov1-25/+27
This approach works for both link.exe and lld-link which does not support /DUMP. We now also issue a warning if we were unable to detect the library type.
2020-07-17Fix race in path/mtime assignment and file_rule::match()Boris Kolpackov1-6/+2
2020-06-26Handle #import in MSVC /showIncludes outputBoris Kolpackov1-6/+16
2020-04-30Rename target::member to target::adhoc_memberBoris Kolpackov1-1/+1
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-02-03Add header/library search paths from compiler mode to sys_*_dirsBoris Kolpackov1-12/+104
2020-01-31Tag installed library targets with linker pathBoris Kolpackov1-2/+2
This makes sure we get different targets for different toolchains.
2020-01-27Improve process run_*() APIBoris Kolpackov1-1/+1
2019-11-26Rename executable's .lib/.exp to avoid clashes with librariesBoris Kolpackov1-3/+3
Failed that we cannot have an executable and a library with the same name and in the same directory (their .lib's will clash).
2019-10-18Add ability to specify "compiler mode" options as part of config.{c,cxx}Boris Kolpackov1-2/+4
Such options are (normally) not overridden by buildfiles and are passed last (after cc.coptions and {c,cxx}.coptions) in the resulting command lines. They are also cross-hinted between config.c and config.cxx. For example: $ b config.cxx="g++ -m64"
2019-10-07Pass MSVC system library search paths to linker if LIB envvar is unsetBoris Kolpackov1-1/+21
2019-10-01Adapt to renaming butl::casecmp() to icasecmp()Karen Arutyunov1-2/+2
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-0/+502