Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always make idlc_generate available in install #1957

Merged

Commits on Mar 28, 2024

  1. Always make idlc_generate available in install

    With cross-builds, and now therefore also static builds, one does need IDLC.  Installing
    Generate.cmake unconditionally means one can always write
    
      idlc_generate(TARGET konijn FILES wortel.idl)
    
    and one only has to make sure that CMake can find "idlc" and the backend library.  Adding
    the host build to the CMAKE_PREFIX_PATH as in:
    
      cmake -DCMAKE_PREFIX_PATH=.../target-install\;.../host-install
    
    results in CMake finding the CycloneDDS package for the target in the target-install
    directory while also looking (and finding) idlc and the backend somewhere in the
    host-install directory.
    
    Signed-off-by: Erik Boasson <eb@ilities.com>
    eboasson committed Mar 28, 2024
    Copy the full SHA
    16e36c3 View commit details
    Browse the repository at this point in the history