Skip to content

Linking running non-parallel with add_deps and inherit = false #6912

@MaxwellGengYF

Description

@MaxwellGengYF

Xmake Version

3.0.3+

Operating System Version and Architecture

Any OS

Describe Bug

有以下配置时:

target("shared_target")
set_kind("shared")
add_files("xx.cpp")

target("binary_target")
set_kind("binary")
add_files("yy.cpp")
add_deps("shared_target", {inherit = false, order= false})

此时我们希望编译binary_target时保证shared_target也被编译,而不希望两者有任何形式的串行,实际shared_target的link会与binary_target串行。

Expected Behavior

..

Project Configuration

..

Additional Information and Error Logs

..

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions