Skip to content

VCPKG port for onnxruntime and modernize cmake builds #7150

@ankurvdev

Description

@ankurvdev

Provider a vcpkg port for onnxruntime for easier builds and linking into external projects.

There's an initial effort made that can be used as a starting template for this
microsoft/vcpkg#14903
This port succeeds for x64-windows-static-md but none of the other standard triplets.

Overall the onnxruntime cmakelist.txt needs cleaning to support such a port in an efficient manner

  • Allow for submodules to be optional
  • Submodule binaries must be picked up using find_package, find_library
  • Export standard cmake-config/cmake-target files for easier find_package(onnxruntime) support

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributions welcomeexternal contributions welcomefeature requestrequest for unsupported feature or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions