aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/module.hxx
AgeCommit message (Collapse)AuthorFilesLines
2024-10-09Add support for JSON compilation database generation and maintenanceBoris Kolpackov1-1/+33
See the "Compilation Database" section in the "cc Module" chapter of the manual for details.
2024-10-03Make header cache case-sensitive on Windows (GH issue #390)Boris Kolpackov1-2/+25
2023-11-29Add rule for extracting C and C++ predefsBoris Kolpackov1-2/+5
2023-09-08Manually extract library search paths from LIBRARY_PATH for ClangBoris Kolpackov1-4/+4
Unlike GCC, Clang does not incorporate the LIBRARY_PATH environment variable value into the -print-search-dirs output.
2022-04-19Optimize header cache some more by storing hash in keyBoris Kolpackov1-1/+23
2022-04-14Add header cache to cc::compile_rule::enter_header()Boris Kolpackov1-2/+13
2021-10-07Fix bug in internal scope logicBoris Kolpackov1-1/+1
2021-10-04Optimize internal scope implementationBoris Kolpackov1-2/+3
2021-10-01Add notion of internal scope, translate external -I to -isystem or equivalentBoris Kolpackov1-0/+5
2021-05-13Rename sys_inc_dirs to sys_hdr_dirs for consistencyBoris Kolpackov1-2/+2
2021-04-20Track changes to environment in cc rulesBoris Kolpackov1-0/+2
2021-02-09Allow overriding cxx.features.modules with config.cxx.features.modulesBoris Kolpackov1-2/+4
2021-01-30Rework include translation supportBoris Kolpackov1-1/+4
See the config.cxx.translate_include variable documentation in cxx/init.cxx for details.
2020-11-11Add ${c,cxx}.lib_{poptions,libs,rpaths}() functionsBoris Kolpackov1-4/+4
These functions can be used to query library metadata for options and libraries that should be used when compiling/linking dependent targets, similar to how cc::{compile,link}_rule do it. With this support it should be possible to more or less re-create their semantics in ad hoc recipes.
2020-07-13Fold translated *.std options into compiler mode optionsBoris Kolpackov1-5/+5
This way they are accessible in ad hoc recipes.
2020-03-17Rework config::{omitted,required,optional}() into unified config_lookup()Boris Kolpackov1-3/+2
2020-02-24Work around bug in Clang 10 targeting MSVC in c++2a (LLVM bug #44956)Boris Kolpackov1-1/+4
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-10/+14
2020-01-29Rename module_base to module, redo module boot/init argument passingBoris Kolpackov1-2/+2
2019-10-07Pass MSVC system library search paths to linker if LIB envvar is unsetBoris Kolpackov1-3/+6
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-0/+103