How to use the b2.build.type.register_type function in b2

To help you get started, we’ve selected a few b2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dennisferron / LikeMagic-GameEngine / Common / boost_1_54_0 / tools / build / v2 / tools / types / preprocessed.py View on Github external
def register ():
    type.register_type('PREPROCESSED_C', ['i'], 'C')
    type.register_type('PREPROCESSED_CPP', ['ii'], 'CPP')
github boostorg / build / v2 / tools / types / preprocessed.py View on Github external
def register ():
    type.register_type('PREPROCESSED_C', ['i'], 'C')
    type.register_type('PREPROCESSED_CPP', ['ii'], 'CPP')
github maidsafe-archive / MaidSafe / src / third_party_libs / boost / tools / build / v2 / tools / types / cpp.py View on Github external
def register ():
    type.register_type('CPP', ['cpp', 'cxx', 'cc'])
    type.register_type('H', ['h'])
    type.register_type('HPP', ['hpp'], 'H')
    type.register_type('C', ['c'])
github boostorg / build / src / tools / types / preprocessed.py View on Github external
def register ():
    type.register_type('PREPROCESSED_C', ['i'], 'C')
    type.register_type('PREPROCESSED_CPP', ['ii'], 'CPP')
github boostorg / build / src / tools / types / obj.py View on Github external
def register ():
    type.register_type ('OBJ', ['obj'], None, ['NT', 'CYGWIN'])
    type.register_type ('OBJ', ['o'])
github stan-dev / math / lib / boost_1.69.0 / tools / build / src / tools / types / preprocessed.py View on Github external
def register ():
    type.register_type('PREPROCESSED_C', ['i'], 'C')
    type.register_type('PREPROCESSED_CPP', ['ii'], 'CPP')
github vslavik / poedit / tools / build / src / tools / types / cpp.py View on Github external
# Copyright David Abrahams 2004. Distributed under the Boost
# Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
from b2.build import type as type_


type_.register_type('CPP', ['cpp', 'cxx', 'cc'])
type_.register_type('H', ['h'])
type_.register_type('HPP', ['hpp'], 'H')
type_.register_type('C', ['c'])
github dennisferron / LikeMagic-GameEngine / Common / boost_1_54_0 / tools / build / v2 / tools / types / exe.py View on Github external
def register ():
    type.register_type ('EXE', ['exe'], None, ['NT', 'CYGWIN'])
    type.register_type ('EXE', [], None, [])
github boostorg / build / v2 / tools / types / preprocessed.py View on Github external
def register ():
    type.register_type('PREPROCESSED_C', ['i'], 'C')
    type.register_type('PREPROCESSED_CPP', ['ii'], 'CPP')