Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cmake.install for ninja #5365

Merged
merged 2 commits into from
Jul 20, 2024
Merged

Improve cmake.install for ninja #5365

merged 2 commits into from
Jul 20, 2024

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Jul 19, 2024

@waruqi waruqi added this to the v2.9.4 milestone Jul 19, 2024
@@ -979,6 +979,14 @@ end
-- do build for ninja
function _build_for_ninja(package, configs, opt)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_install_for_ninja 也要加,或者在 package/tools/ninja.lua 里抽象出一个函数给 install/build 都加上

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

install 加了的

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是cmake的bug,不应该在 tools.ninja里面处理

@waruqi waruqi merged commit 84d48dc into dev Jul 20, 2024
38 checks passed
@waruqi waruqi deleted the cmake branch July 20, 2024 00:09
@waruqi
Copy link
Member Author

waruqi commented Jul 20, 2024

我在 tools.cmake 里面,抽象到一个单独 func 了。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


In tools.cmake, I abstracted it to a separate func.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants