aboutsummaryrefslogtreecommitdiff
path: root/build2/utility.ixx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-04-28Move trim(), next_word() to libbutlBoris Kolpackov1-29/+0
2018-03-21Strip out_root when hashing linker input pathsBoris Kolpackov1-0/+18
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.
2018-01-05Extend find_option_prefix() to return optionBoris Kolpackov1-4/+4
2017-08-06Filter out warning as error options during preprocessingBoris Kolpackov1-12/+12
2017-06-12Add workaround for Clang module import during preprocessingBoris Kolpackov1-4/+25
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-08-24Handle *.export.libs, distinguish interface and implementation dependenciesBoris Kolpackov1-0/+14
A library dependency on another libraries is either "interface" or "implementation". If it is interface, then everyone who links to this library should also link to the interface dependency, explicitly. A good example of an interface dependency is a library API that is called in inline functions. Interface dependencies of a library should be explicitly listed in the *.export.libs (where we can also list target names). So the typical usage will be along these lines: import int_libs = libfoo%lib{foo} import int_libs += ... import imp_libs = libbar%lib{bar} import imp_libs += ... lib{baz}: ... $int_libs $imp_libs lib{baz}: cxx.export.libs = $int_libs
2016-08-12Implement support for C compilationBoris Kolpackov1-1/+48
We now have two new modules: cc (c-common) and c.
2016-07-29Make /EHsc and /MD default for VC compilerBoris Kolpackov1-2/+29
2016-07-15Name and cleanup extra VC files (.pdb, .ilk, .idb)Boris Kolpackov1-2/+2
2016-03-28New variable architectureBoris Kolpackov1-0/+1
2016-03-07Implement compiler guessing, including icc and msvcBoris Kolpackov1-0/+29
2016-02-29Implement auxiliary dependency database (.d files), use in cxx.compileBoris Kolpackov1-0/+27
This is part of the "High Fidelity Build" work.