Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-08-30 | Build infrastructure update | Boris Kolpackov | 4 | -19/+27 | |
2016-08-30 | Don't treat trailing dot as part of variable name | Boris Kolpackov | 1 | -0/+11 | |
So we can write $major.$minor | |||||
2016-08-30 | Add support for target visibility, use for dist, test, install | Boris Kolpackov | 15 | -36/+73 | |
This means we can no longer write: install = false Now it should be: *: install = false | |||||
2016-08-30 | Add support for using '*' as target type in variable assignment | Boris Kolpackov | 2 | -3/+14 | |
So these three are equivalent: *: foo = 1 {*}: foo = 2 *{*}: foo = 3 | |||||
2016-08-30 | Add support for install.subdirs so can be specified for scope | Boris Kolpackov | 2 | -32/+60 | |
2016-08-30 | Remove backwards-compatibility kludges | Boris Kolpackov | 8 | -56/+19 | |
2016-08-30 | Add support for config.build file versioning | Boris Kolpackov | 9 | -38/+116 | |
2016-08-30 | Change function names to make VC happy | Boris Kolpackov | 3 | -21/+21 | |
2016-08-30 | Fix typo | Boris Kolpackov | 1 | -1/+1 | |
2016-08-30 | On FreeBSD also search in libdata/pkgconfig/ | Boris Kolpackov | 1 | -33/+60 | |
2016-08-29 | Implement initial support for library versioning | Boris Kolpackov | 12 | -203/+587 | |
Currently we only support platform-independent versions that get appended to the library name. The magic incantation is this: lib{foo}: bin.lib.version = @-1.2 This will produce libfoo-1.2.so, libfoo-1.2.dll, etc. In the future we will support things like this: lib{foo}: bin.lib.version = linux@1.2.3 freebsd@1.2 windows@1.2 | |||||
2016-08-29 | Fix incorrect process argv[0] values | Boris Kolpackov | 1 | -1/+1 | |
2016-08-29 | Add pkgbuild/ to bootstrap scripts | Boris Kolpackov | 3 | -0/+3 | |
2016-08-28 | Limit c.std, cxx.std, and extension visibility to project | Boris Kolpackov | 3 | -3/+3 | |
2016-08-28 | Fix locale dependence when extracting GCC library search paths | Boris Kolpackov | 1 | -6/+15 | |
2016-08-28 | Fix incorrect assert | Boris Kolpackov | 1 | -1/+1 | |
2016-08-28 | Fix remaining case-insensitive compare | Boris Kolpackov | 1 | -2/+1 | |
2016-08-28 | Optimize library processing | Boris Kolpackov | 2 | -89/+98 | |
2016-08-28 | Factor library search/processing out to cc::common | Boris Kolpackov | 10 | -905/+933 | |
2016-08-28 | Fix Windows rpath support | Boris Kolpackov | 5 | -179/+314 | |
2016-08-28 | Extract pkg-config information for both static/shared at once | Boris Kolpackov | 5 | -174/+203 | |
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 | 3 | -67/+96 | |
2016-08-27 | Reimplement UNIX rpath using process_library(), -rpath-link is still broken | Boris Kolpackov | 7 | -125/+211 | |
2016-08-27 | Determine if library is system in process_libraries | Boris Kolpackov | 3 | -45/+113 | |
2016-08-27 | Clean up library export, make c and cxx modules project root only | Boris Kolpackov | 15 | -760/+882 | |
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 | 21 | -308/+1122 | |
Redesign library importing/exporting while at it. | |||||
2016-08-25 | Handle *.export.loptions | Boris Kolpackov | 1 | -2/+26 | |
2016-08-24 | Pick *.libs variable depending on library type during static linking | Boris Kolpackov | 5 | -9/+46 | |
2016-08-24 | Handle *.export.libs, distinguish interface and implementation dependencies | Boris Kolpackov | 12 | -68/+321 | |
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 | Add support for installing into a different file name | Boris Kolpackov | 3 | -31/+56 | |
Now the install variable is a path, not dir_path. If it is a directory (ends with a trailing slash), then the target is installed into this directory with the same name. Otherwise, the entire path is used as the installation destination. | |||||
2016-08-23 | Update install.* variables in buildfiles | Boris Kolpackov | 2 | -2/+2 | |
2016-08-23 | Handle "prefixless" include directory to project mapping better | Boris Kolpackov | 2 | -77/+124 | |
2016-08-23 | Don't write trailing spaces in case of empty values in config.build | Boris Kolpackov | 1 | -2/+11 | |
2016-08-23 | Reverse empty simple values as an empty names sequence rather than empty name | Boris Kolpackov | 3 | -12/+33 | |
This way we get: config.import.foo = Rather than: config.import.foo = {} | |||||
2016-08-23 | Don't complete empty abs_dir_path | Boris Kolpackov | 2 | -4/+8 | |
The empty value is used as a special indicator | |||||
2016-08-23 | Treat empty config.import.* value as instruction to skip subproject search | Boris Kolpackov | 1 | -39/+53 | |
Also, change explicit config.import.* value to take precedence over subproject search. | |||||
2016-08-23 | Split cli module into cli.config and cli | Boris Kolpackov | 3 | -43/+87 | |
2016-08-23 | Add cc.config in addition to cc | Boris Kolpackov | 3 | -19/+66 | |
2016-08-23 | Rename cc.{vars,config} modules to cc.core.{vars,config} | Boris Kolpackov | 6 | -52/+53 | |
We are going to use cc.config for something else. | |||||
2016-08-22 | Add workaround for Windows baseutils /bin search issue | Boris Kolpackov | 1 | -1/+25 | |
2016-08-22 | Improve diagnostics | Boris Kolpackov | 1 | -1/+3 | |
2016-08-22 | Add few extra tracing statements | Boris Kolpackov | 2 | -4/+17 | |
2016-08-22 | Minor fixes and cleanups | Boris Kolpackov | 1 | -2/+8 | |
2016-08-22 | Cache process_path, use fallback search directory for binutils | Boris Kolpackov | 21 | -144/+498 | |
2016-08-21 | Adjust to new butl::process interface | Boris Kolpackov | 3 | -6/+6 | |
2016-08-20 | Improve bootstrap scripts | Boris Kolpackov | 3 | -83/+105 | |
2016-08-19 | Implement uninstall operation | Boris Kolpackov | 13 | -161/+473 | |
2016-08-18 | Add missing include | Boris Kolpackov | 1 | -0/+2 | |
2016-08-18 | Fix invisible inline function issue | Boris Kolpackov | 2 | -8/+5 | |
2016-08-18 | Lighten up config.install.* output in config.build | Boris Kolpackov | 1 | -3/+6 | |
Now we omit non-global NULL values for cmd, options, mode, dir_mode, and sudo. |