aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/module.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-03-04Only set install variables if install module has been loadedBoris Kolpackov1-14/+20
While generally a good idea, failing to do this trips up our load generation protection.
2017-03-02Unconditionally load bin.ar module in c and cxx modulesBoris Kolpackov1-14/+8
With our utility library/until test approach this will probably be more common than not.
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov1-3/+5
2017-01-23Make rules const throughoutBoris Kolpackov1-3/+3
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov1-8/+6
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov1-1/+1
2017-01-06Store platform targets as typed target_tripletBoris Kolpackov1-48/+56
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-12-05Eliminate the use of '/...' paths on WindowsKaren Arutyunov1-0/+2
2016-09-05Handle /usr/local brain-deathBoris Kolpackov1-9/+31
2016-09-04Add /usr/local/lib to library search paths on FreeBSDBoris Kolpackov1-37/+50
2016-08-30Fix typoBoris Kolpackov1-1/+1
2016-08-27Clean up library export, make c and cxx modules project root onlyBoris Kolpackov1-158/+173
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-23Rename cc.{vars,config} modules to cc.core.{vars,config}Boris Kolpackov1-8/+9
We are going to use cc.config for something else.
2016-08-22Cache process_path, use fallback search directory for binutilsBoris Kolpackov1-1/+2
2016-08-19Implement uninstall operationBoris Kolpackov1-15/+18
2016-08-17Add support for config.bin.{lib,exe}.{prefix,suffix}Boris Kolpackov1-1/+1
This replaces the bin.libprefix functionality.
2016-08-12Add support for ordering modules in config.buildBoris Kolpackov1-1/+18
2016-08-12Implement c/cxx toolchain cross-hintingBoris Kolpackov1-28/+68
2016-08-12Implement support for C compilationBoris Kolpackov1-0/+291
We now have two new modules: cc (c-common) and c.