Skip to content

Create a FindYardl.cmake script #276

@naegelejd

Description

@naegelejd

Objective: Find and test the version of Yardl from within a CMake build environment.

Solution: Implement a CMake “Find” script for Yardl, similar to something like FindBISON.cmake:

https://cmake.org/cmake/help/latest/module/FindBISON.html
https://github.com/Kitware/CMake/blob/master/Modules/FindBISON.cmake

Essentially, it would just:

  1. Search for the yardl binary
  2. Run yardl —version and collect output
  3. Pass the path and version to CMake’s find_package_handle_standard_args​, which ensures the version matches the one requested in CMakeLists.txt.

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