Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2016-08-18 | Add global config.install.{cmd,options,sudo,mode,dir_mode} | Boris Kolpackov | 2 | -14/+49 | |
This way we can do: b install \ config.install.data_root=/tmp/data \ config.install.exec_root=/tmp/exec \ config.install.sudo=sudo | |||||
2016-08-18 | Add /nologo to bootstrap-msvc.bat | Boris Kolpackov | 1 | -1/+1 | |
2016-08-18 | Minor bootstrap batch file cleanups | Boris Kolpackov | 2 | -11/+10 | |
2016-08-17 | Add config.bin.{prefix,suffix} convenience values | Boris Kolpackov | 1 | -8/+18 | |
These can be used to specify for both lib and exe. | |||||
2016-08-17 | Allow expansion of undefined/NULL namespace variables | Boris Kolpackov | 1 | -2/+4 | |
This restriction is not proving to get in the way. | |||||
2016-08-17 | Add support for config.bin.{lib,exe}.{prefix,suffix} | Boris Kolpackov | 6 | -28/+51 | |
This replaces the bin.libprefix functionality. | |||||
2016-08-16 | Update submodules | Boris Kolpackov | 2 | -0/+0 | |
2016-08-15 | Adjust bootstrap.sh interface to be similar to .bat versions | Boris Kolpackov | 3 | -20/+22 | |
2016-08-15 | Include host machine in --version output | Boris Kolpackov | 3 | -4/+2 | |
2016-08-15 | Add bootstrap-{msvc, mingw}.bat | Boris Kolpackov | 4 | -1/+247 | |
2016-08-15 | Add missing header to buildfile | Boris Kolpackov | 1 | -0/+1 | |
2016-08-15 | Rename bootstrap to bootstrap.sh | Boris Kolpackov | 3 | -5/+5 | |
Since it is a POSIX shell script (as opposed to bash script) and since we are going to have bootstrap-*.bat. | |||||
2016-08-13 | Use extension derivation function rather than extension variable directly | Boris Kolpackov | 2 | -6/+11 | |
2016-08-12 | Rename module to init | Boris Kolpackov | 17 | -65/+86 | |
2016-08-12 | Add support for ordering modules in config.build | Boris Kolpackov | 13 | -19/+97 | |
2016-08-12 | Implement c/cxx toolchain cross-hinting | Boris Kolpackov | 7 | -97/+248 | |
2016-08-12 | Implement support for C compilation | Boris Kolpackov | 53 | -1359/+2914 | |
We now have two new modules: cc (c-common) and c. | |||||
2016-08-10 | Add ignore case support for find_option() | Karen Arutyunov | 7 | -51/+37 | |
2016-08-09 | Fix bug in inner/outer operation handling | Boris Kolpackov | 1 | -1/+3 | |
2016-08-05 | Implement out-qualified target syntax for setting target-specific vars | Boris Kolpackov | 7 | -18/+66 | |
So now we can do: doc{INSTALL}@./: install = false Note that so far that's the only place where we support out-qualification. Grep for @@ OUT to see other places. | |||||
2016-08-05 | Enable pair recognition in the normal and eval lexer modes | Boris Kolpackov | 2 | -8/+17 | |
We need this for the out-qualified target syntax: h{config}@./: install = false | |||||
2016-08-05 | Merge 'value' and 'pairs' lexer_mode, call it 'value' | Boris Kolpackov | 4 | -49/+46 | |
We only really used pairs. | |||||
2016-08-03 | Add support for preserving subdirectories when installing | Boris Kolpackov | 2 | -8/+36 | |
This is handy, for example, when installing headers: install.include = $install.include/foo install.include.subdirs = true The base for calculating the subdirectories is the scope where the subdirs value is set. |