Skip to content

Respect Skipping CMake Formatting Based on Setting in Top Level Project #35

Open
@DeveloperPaul123

Description

@DeveloperPaul123

I'm not sure how this would work, or if it's technically feasible, but I'm going to describe my issue through a hypothetical project.

Let's assume we have projects A and B. Project A depends on project B and pulls it in with CPM.

Both projects use Format.cmake; project A does not allow Cmake formatting, but project B does have that enabled.

Right now, when running "check-format" from project A, it will always fail because Format.cmake thinks that the CMakeLists files need to be formated even though FORMAT_SKIP_CMAKE is set to YES in project A.

Is there any way to work around this?

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