Skip to content

xmake build支持构建多个目标 #7578

@Meha555

Description

@Meha555

你在什么场景下需要该功能?

在工程具有多个目标的情况下,我们要一行命令构建它们,只能将这些目标设置为 set_default(true) 。但是一旦更改了xmake.lua,就会导致重新生成。

cmake 支持一次性指定多个要构建的目标,我认为这个特性很适合移植到 xmake 中来。

描述可能的解决方案

修改 xmake build 的CLI。

描述你认为的候选方案

No response

其他信息

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions