aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/target.hxx
AgeCommit message (Collapse)AuthorFilesLines
2023-04-18Add support for Assembler with C Preprocessor (.S) compilationBoris Kolpackov1-0/+16
Specifically, the c module now provides the c.as-cpp submodules which can be loaded in order to register the S{} target type and enable Assembler with C Preprocessor compilation in the c compile rule. For details, refer to "Assembler with C Preprocessor Compilation" in the manual.
2022-11-22Add support for Objective-C/C++ compilation in cc moduleBoris Kolpackov1-0/+16
2022-04-15Get rid of target::dynamic_type() virtual functionBoris Kolpackov1-12/+30
Instead of overriding this function, derived targets must now set the dynamic_type variable to their static_type in their constructor body.
2020-03-20Generate common .pc file in addition to static/staged when installing lib{}Boris Kolpackov1-1/+2
The common .pc file is produced by ignoring any static/shared-specific poptions and splitting loptions/libs into Libs/Libs.private. It is "best effort", in a sense that it's not guaranteed to be sufficient in all cases, but it will probably cover the majority of cases, even on Windows, thanks to automatic dllimport'ing of functions.
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-0/+96