boostorg / boostorg/build

Problems with project.extension

Aperta
#328 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
transition
Lingua principale
C++
Stelle
251
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

This rule currently has many issues:

- The extension project inherits some things from Jamroot. I don't understand why.
- Extension projects are not usable from config files (even though the documentation says that extension projects can be initialized with using). This is a result of inheriting things from Jamroot, which doesn't exist yet when the config files are loaded.
- project.extension searches for the project root incorrectly (it skips project-config.jam). This breaks down if there is a project-config.jam above Jamroot, instead of alongside Jamroot.
- Is it even needed in the first place? standalone projects (with no location) work just fine.
- The "location" that it uses is very strange and often doesn't actually exist. If it does exist, then the behavior is likely to be surprising.
- It does most of its work in the caller's module. Only the `project` rule actually needs to be run in the caller's module.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.