// file : libbuild2/c/init.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #ifndef LIBBUILD2_C_INIT_HXX #define LIBBUILD2_C_INIT_HXX #include #include #include #include namespace build2 { namespace c { // Module `c` does not require bootstrapping. // // 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. // extern "C" LIBBUILD2_C_SYMEXPORT const module_functions* build2_c_load (); } } #endif // LIBBUILD2_C_INIT_HXX