aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/init.hxx
blob: 7bb9d1dc3d6ae9626828384ef4e16b61a86df871 (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
32
33
34
35
36
37
38
39
// file      : libbuild2/bin/init.hxx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

#ifndef LIBBUILD2_BIN_INIT_HXX
#define LIBBUILD2_BIN_INIT_HXX

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

#include <libbuild2/module.hxx>

#include <libbuild2/bin/export.hxx>

namespace build2
{
  namespace bin
  {
    // Module `bin` does not require bootstrapping.
    //
    // Submodules:
    //
    // `bin.vars`      -- registers some variables.
    // `bin.config`    -- loads bin.vars and sets some variables.
    // `bin.ar.config` -- loads bin.config and registers/sets more variables.
    // `bin.ar`        -- loads bin and bin.ar.config.
    // `bin.ld.config` -- loads bin.config and registers/sets more variables.
    // `bin.ld`        -- loads bin and bin.ld.config and registers more
    //                    target types for msvc.
    // `bin.rc.config` -- loads bin.config and registers/sets more variables.
    // `bin.rc`        -- loads bin and bin.rc.config.
    // `bin`           -- loads bin.config and registers target types and
    //                    rules.
    //
    extern "C" LIBBUILD2_BIN_SYMEXPORT const module_functions*
    build2_bin_load ();
  }
}

#endif // LIBBUILD2_BIN_INIT_HXX