Skip to content

Warn/block building in wrong command prompt #4639

Description

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.

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

    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