aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/module.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-06-02Add process_path_ex with program stable name and checksumBoris Kolpackov1-1/+1
2020-04-02Fix ~host config to only contain cc and bin modules configurationBoris Kolpackov1-1/+1
Also add ~build2 that contains everything (except config.dist.*) to be used for build system modules.
2020-03-31Switch to project variable visibility by defaultBoris Kolpackov1-3/+6
2020-03-20Generate common .pc file in addition to static/staged when installing lib{}Boris Kolpackov1-0/+1
The common .pc file is produced by ignoring any static/shared-specific poptions and splitting loptions/libs into Libs/Libs.private. It is "best effort", in a sense that it's not guaranteed to be sufficient in all cases, but it will probably cover the majority of cases, even on Windows, thanks to automatic dllimport'ing of functions.
2020-03-17Rework config::{omitted,required,optional}() into unified config_lookup()Boris Kolpackov1-24/+29
2020-03-11Minor config variable lookup cleanupsBoris Kolpackov1-5/+16
2020-02-24Work around bug in Clang 10 targeting MSVC in c++2a (LLVM bug #44956)Boris Kolpackov1-1/+1
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-02-03Fix bug in sys_*_dirs commitBoris Kolpackov1-1/+1
2020-02-03Add header/library search paths from compiler mode to sys_*_dirsBoris Kolpackov1-21/+29
2020-01-28Use scope::var_pool()Boris Kolpackov1-1/+1
2020-01-27Add corner case check in const.{c,cxx} array splittingBoris Kolpackov1-8/+11
2019-11-08Redo Apple /usr/include detection using patternsBoris Kolpackov1-16/+8
This should cover XCode 11 where the symlinks are the other way around now (see homebrew-core issue #46393 for details).
2019-11-05Add support for supplying MSVC IFCPATH equivalentBoris Kolpackov1-0/+12
2019-10-18Add ability to specify "compiler mode" options as part of config.{c,cxx}Boris Kolpackov1-119/+165
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-11Add support for clang-clBoris Kolpackov1-5/+27
The compiler type is `msvc`, variant `clang`.
2019-10-07Pass MSVC system library search paths to linker if LIB envvar is unsetBoris Kolpackov1-54/+67
2019-10-05Implement more accurate MSVC information extraction from Clang on WindowsBoris Kolpackov1-0/+1
2019-09-18Rename importable_headers variable to translatable_headersBoris Kolpackov1-8/+8
This name aligns better with the post-Cologne importable/translatable semantics.
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-0/+781