aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.hxx
AgeCommit message (Collapse)AuthorFilesLines
2017-10-03Extract system header search paths from GCC or compatibleBoris Kolpackov1-1/+7
2017-09-25Get rid of pkgconfig moduleKaren Arutyunov1-3/+1
2017-09-25Make use of libpkgconf libraryKaren Arutyunov1-0/+1
2017-08-04Implement sidebuilding of installed modulesBoris Kolpackov1-1/+2
2017-08-02Change cc.preprocessed to {c,cxx}.preprocessedBoris Kolpackov1-1/+2
2017-07-31Experimental (and probably broken) pkg-config generation supportBoris Kolpackov1-9/+6
2017-07-28Implement support for linking whole archiveBoris Kolpackov1-1/+2
2017-07-27Initial infrastructure for utility librariesBoris Kolpackov1-2/+2
2017-06-22Add extra support for symbol exporting in modularized projectsBoris Kolpackov1-1/+4
Since modules don't see each other's macros, we can use a single, keyword- like macro for dll-exporting that is managed by the build system (so no need for an "export" header). For example: cxx.features.symexport = true export __symexport void f ();
2017-06-08Implement rule chaining for modulesBoris Kolpackov1-0/+1
2017-05-31C++ modules work: add target typesBoris Kolpackov1-4/+6
2017-05-30Diagnose lack of module support in extract_modules()Boris Kolpackov1-0/+4
2017-05-30Rework C/C++ standard translation in preparation for experimental/modulesBoris Kolpackov1-18/+2
Also fix bug in clang-apple versioning.
2017-05-29Add ability to limit amount of preprocessing done on sourceBoris Kolpackov1-4/+5
The cc.preprocessed variable can be 'none' (not preprocessed), 'includes' (no depends on preprocessor, e.g., #ifdef, etc), and 'all' (the source is fully preprocessed). Note that for 'all' the source can still contain comments and line continuations.
2017-05-25Extract C++ modules informationBoris Kolpackov1-1/+3
For now we do it for every translation unit in order to test our C++ lexer and parser.
2017-05-25Add compiler_id enumBoris Kolpackov1-9/+12
2017-05-18Add compiler version checks for separate preprocess and compile setupBoris Kolpackov1-2/+7
2017-05-17Add ability to disable use of preprocessed output in compilationBoris Kolpackov1-2/+3
This can be done from a buildfile for a scope (including project root scope) and per target via cc.reprocess: cc.reprocess = true obj{hello}: cc.reprocess = false As as well externally via config.cc.reprocess: b config.cc.reprocess=true [configure]
2017-05-16Implement separate preprocess and compiler for GCC and ClangBoris Kolpackov1-1/+2
2017-05-01Add hxx extension for headersKaren Arutyunov1-0/+289