Skip to content

whats the state of cmake_args? #14009

Open
@Jan200101

Description

@Jan200101

to quickly describe cmake_args (since documentation is poor on it):
its an extra parameter of the dependency method that allows specifying cmake arguments for cmake modules only (it will not be used for cmake subprojects)

Currently this parameter appears to be used by only 4 projects on github, has no test cases has no documentation besides a 1 line note on the dependencies page and an inclusion in the 0.50.0 release notes

Further more the function that parses the flag check_cmake_args has this TODO above it:

# TODO: this function will become obsolete once the `cmake_args` kwarg is dropped

and an invocation of it that includes this comment:

# TODO: drop this check once the deprecated `cmake_args` kwarg is removed
extra_cmake_options = check_cmake_args(extra_cmake_options)

I couldn't find anything that mentions the parameter being deprecated (besides the line itself) and there is no logging or version check in the code that announces its deprecation or prevents its use in newer meson projects

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependency:cmakeIssues related to `dependency` with the `cmake` method

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions