Skip to content

Support to build the selected files for the given target #487

@waruqi

Description

@waruqi

Is your feature request related to a problem? Please describe.

see #257 (comment)

Describe the solution you'd like

xmake build --files=src/main.c <target>
xmake build --files='src/*.c' <target>
xmake build --files 'src/**.c|excluded_file.c;xxx/file1.c;yyy/file2.c' <target>

Path list (windows)

xmake build --files='src/file1.c;src/file2.c'

Path list (unix/linux)

xmake build --files='src/file1.c:src/file2.c'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions