boostorg / boostorg/build

Support for compiler plugins in toolsets

Ouverte
#149 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
251
Forks
63
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Compiler plugins are getting in fashion, so it will be nice to have a support for them in boost-build.

Assuming gcc toolset (clang is similar):

1. Compiler plugin is a variety of shared library which is build with some options derived by running the target compiler (e.g. "gcc -print-file-name=plugin" to set the proper include path).

2. As a dependency, compiler plugin is to be applied to the for each affected source ("-fplugin=/plugin.so").

3. An extra feature will be useful to set plugin specific flags on affected sources ("-fplugin-arg-plugin-foo=bar"). A bit of complication is caused by the fact that any "-fplugin" flags must precede "-fplugin-arg-*" flags on the gcc command line.

I have tried to work out a module of my own - p1 and p3 are pretty easy, but I could not get the p2 right (the whole generators/v-targets thing is pretty confusing),

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.