Skip to content

Warn/block building in wrong command prompt #4639

@AlexGuteniev

Description

@AlexGuteniev

I haven't encountered this myself yet but seen folks running into failed attempt of building x64 preset from x86 command prompt or the reverse.

Apparently, there's Platform environment variable set by these command prompts, which can easily identify the target arch type.

Think we can check this in CMake files and reject some futile attempts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildRelated to the build systemfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions