mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 22:27:50 +08:00
7e3d3beac5
* fix LLVM target-all feature * [halide] bump Halide to version 10.0.0 * Use empty package policy to allow plugins to be located in lib. This is following the recommendations in a conversation I had with Robert Schumacher on the #vcpkg CppLang Slack channel. This recommendation was derived from the fact that "cmake defaults module DLLs into the lib folder, which makes vcpkg's current policy very inconvenient for authors" and that I do not plan to enable build systems other than CMake. * [halide] skip x86-windows due to MSVC bug * [halide] restore x64-windows-static fail status * add usage file to Halide * Update CONTROL version * Remove '!emscripten` from ports/halide/CONTROL Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
15 lines
418 B
Plaintext
15 lines
418 B
Plaintext
The package halide provides CMake targets:
|
|
|
|
find_package(Halide REQUIRED)
|
|
|
|
# JIT mode:
|
|
target_link_libraries(main PRIVATE Halide::Halide)
|
|
|
|
# AOT mode:
|
|
target_link_libraries(gen PRIVATE Halide::Generator)
|
|
add_halide_library(filter FROM gen)
|
|
target_link_libraries(main PRIVATE filter)
|
|
|
|
For more information see:
|
|
https://github.com/halide/Halide/blob/v10.0.0/README_cmake.md
|