Skip to content

Enhancement: Add curly brackets support for make_component #76

@xmkg

Description

@xmkg

It might be cosmetically appealing to add curly braces support to new make_component() function. The proposed syntax is:

make_component(
    project.component-x

    TARGET { 
        TYPE STATIC 
        LINK {
            PUBLIC project.component-y.static
        }
    }
    TARGET {
        TYPE SHARED 
        LINK { 
            PUBLIC project.component-y.shared
        }
    } 

    ALL {
        LINK {
            PUBLIC  project.component-z
            PRIVATE project.component-q
        }
        AUTO_SUFFIX
        OUTPUT_NAME <PROJECT_NAME>
        WITH_INSTALL
    }
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions