boostorg / boostorg/build

Problems with project.extension

オープン
#328 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
transition
主要言語
C++
スター
251
フォーク
63
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。