最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

delphi - Skip projects in group if they don't have a platform - Stack Overflow

programmeradmin1浏览0评论

I have a Delphi 10.3 project group. All projects in it has the Win32 target platform, and only some of them has the Win64 target platform. When I build the group with MSBuild with /p:Platform=Win32, all projects have built. But if do the same with /p:Platform=Win64 key, all projects have also built even they don't configured with the Win64 target platform.

How can I avoid building the Win64 target for those projects, which don't have that target during building of the project group?

I have a Delphi 10.3 project group. All projects in it has the Win32 target platform, and only some of them has the Win64 target platform. When I build the group with MSBuild with /p:Platform=Win32, all projects have built. But if do the same with /p:Platform=Win64 key, all projects have also built even they don't configured with the Win64 target platform.

How can I avoid building the Win64 target for those projects, which don't have that target during building of the project group?

Share Improve this question edited 11 hours ago Ken White 126k15 gold badges235 silver badges463 bronze badges asked 21 hours ago Anton LarinAnton Larin 636 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

You can use Build Groups. Create one group and assign the Win32-enabled projects to it. Then create another group and assign the Win64-enabled projects to it. And then you can compile the groups individually.

发布评论

评论列表(0)

  1. 暂无评论