aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c/init.hxx
blob: 2662bb123bfee7ecff0a4f230f033092782e6b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// file      : libbuild2/c/init.hxx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

#ifndef LIBBUILD2_C_INIT_HXX
#define LIBBUILD2_C_INIT_HXX

#include <libbuild2/types.hxx>
#include <libbuild2/utility.hxx>

#include <libbuild2/module.hxx>

#include <libbuild2/c/export.hxx>

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.
    //
    extern "C" LIBBUILD2_C_SYMEXPORT const module_functions*
    build2_c_load ();
  }
}

#endif // LIBBUILD2_C_INIT_HXX