aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c/init.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-29 09:51:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-29 10:31:50 +0200
commita738555f02626685f119fe332d4e2e6e9f2581f4 (patch)
tree7748b525814eae24678787ebe577659be99aad7d /libbuild2/c/init.hxx
parentcd95d24f6dc412feb4a46ccfe588bf180cf69ade (diff)
Add rule for extracting C and C++ predefs
Diffstat (limited to 'libbuild2/c/init.hxx')
-rw-r--r--libbuild2/c/init.hxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/libbuild2/c/init.hxx b/libbuild2/c/init.hxx
index c3126ea..713a78a 100644
--- a/libbuild2/c/init.hxx
+++ b/libbuild2/c/init.hxx
@@ -19,13 +19,15 @@ namespace build2
//
// Submodules:
//
- // `c.guess` -- registers and sets some variables.
- // `c.config` -- loads c.guess and sets more variables.
- // `c` -- loads c.config and registers target types and rules.
- // `c.objc` -- registers m{} target type and enables Objective-C
- // compilation. Must be loaded after c.
- // `c.as-cpp` -- registers S{} target type and enables Assembler with
- // C preprocessor compilation. Must be loaded after c.
+ // `c.guess` -- registers and sets some variables.
+ // `c.config` -- loads c.guess and sets more variables.
+ // `c` -- loads c.config and registers target types and rules.
+ // `c.objc` -- registers m{} target type and enables Objective-C
+ // compilation. Must be loaded after c.
+ // `c.as-cpp` -- registers S{} target type and enables Assembler with
+ // C preprocessor compilation. Must be loaded after c.
+ // `c.predefs` -- registers rule for generating a C header with
+ // predefined compiler macros. Must be loaded after c.
//
extern "C" LIBBUILD2_C_SYMEXPORT const module_functions*
build2_c_load ();