Closed eboasson closed 3 months ago
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.
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.