Skip to content

CMake Options/Variables should be Project-Scoped #155

@wavefunction91

Description

@wavefunction91

To minimize the chance for variable name clashes in sub-project builds (e.g. via FetchContent), it would be useful to scope CMake configure variables and options to be scoped to the project. For example

WITH_API -> S_DFTD3_WITH_API
WITH_TESTS -> S_DFTD3_WITH_TESTS

etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions