Skip to content

Ninja generator does not work on Windows due to (supposedly) scikit internal behavior #1089

Open
@dograt

Description

@dograt

Hi @henryiii . Is there a way to view and override the fact that scikit-build-core seems to be passing the architecture to CMake under the hood on Windows, even if I am using Ninja?

  CMake Error at CMakeLists.txt:16 (project):
    Generator

      Ninja

    does not support platform specification, but platform

      x64

    was specified.


  -- Configuring incomplete, errors occurred!

If it matters, I am using overrides to specify a CMake preset, which works fine on other OSs:

  if.platform-system = "^win32"
  build-dir = "build/desktop-windows"
  cmake.args = ["--preset=desktop-windows"]

I don't set the architecture anywhere myself, I so I'm assuming that scikit-build-core does this under the hood somewhere.

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