Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-05 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2016-12-17 | Add support for specifying individual paths of imported targets | Boris Kolpackov | 1 | -2/+1 | |
The new config.import.* variable format is: config.import.<proj>.<name>[.<type>] For example: b config.import.build2.b=/opt/build2/bin/b b config.import.build2.b.exe=b-boot | |||||
2016-12-16 | Move exe{} to build2 core, add fallback extensions (existing files) | Boris Kolpackov | 1 | -1/+3 | |
2016-11-22 | Use diagnostics facility from libbutl | Boris Kolpackov | 1 | -2/+1 | |
2016-11-04 | Adopt to auto_fd introduced to libbutl fdstreams and process | Karen Arutyunov | 1 | -2/+3 | |
2016-11-04 | Cleanup match_result mess | Boris Kolpackov | 1 | -4/+16 | |
2016-09-15 | Add io_error alias for std::ios_base::failure | Karen Arutyunov | 1 | -3/+3 | |
2016-09-06 | Ignore instead of overriding header prefix (now more specific -I's come first) | Boris Kolpackov | 1 | -8/+10 | |
2016-09-05 | Change order in which library options are processed | Boris Kolpackov | 1 | -11/+11 | |
The idea is that we want more "specialized" -I/-L options before more "generic" in order to make sure we don't pick up installed headers or libraries. This is still not bullet-proof though. | |||||
2016-09-05 | Handle /usr/local brain-death | Boris Kolpackov | 1 | -0/+23 | |
2016-09-04 | Adjust to freebsd to bsd target class change | Boris Kolpackov | 1 | -3/+3 | |
2016-09-04 | Fix initializer list lifetime issues | Boris Kolpackov | 1 | -6/+2 | |
2016-08-28 | Optimize library processing | Boris Kolpackov | 1 | -87/+89 | |
2016-08-28 | Factor library search/processing out to cc::common | Boris Kolpackov | 1 | -13/+12 | |
2016-08-28 | Extract pkg-config information for both static/shared at once | Boris Kolpackov | 1 | -21/+22 | |
We also no longer pick shared/static file rather entering them as "our" lib{} target. This way we use the link order of the importer "transitively". | |||||
2016-08-27 | Fix rpath-link | Boris Kolpackov | 1 | -3/+6 | |
2016-08-27 | Clean up library export, make c and cxx modules project root only | Boris Kolpackov | 1 | -11/+13 | |
So now c and cxx modules can only be loaded in project root scope (normally root.build). Also, the c.std and cxx.std must now be set *before* loading the module to take effect. This means we won't be able to handle old buildfiles anymore but old versions of build2 should be able to handle new *.std placement. | |||||
2016-08-26 | Add pkg-config support for import installed | Boris Kolpackov | 1 | -31/+77 | |
Redesign library importing/exporting while at it. | |||||
2016-08-24 | Handle *.export.libs, distinguish interface and implementation dependencies | Boris Kolpackov | 1 | -2/+2 | |
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-23 | Handle "prefixless" include directory to project mapping better | Boris Kolpackov | 1 | -72/+119 | |
2016-08-22 | Cache process_path, use fallback search directory for binutils | Boris Kolpackov | 1 | -5/+9 | |
2016-08-13 | Use extension derivation function rather than extension variable directly | Boris Kolpackov | 1 | -5/+10 | |
2016-08-12 | Implement support for C compilation | Boris Kolpackov | 1 | -0/+1480 | |
We now have two new modules: cc (c-common) and c. |