Closed methylDragon closed 2 years ago
testing sdformat against this branch in macOS and windows CI using the ci_matching_branch/
trick in https://github.com/gazebosim/sdformat/pull/1072
Gonna squash all the non moving commits :eyes:
For posterity:
See: https://github.com/gazebo-tooling/release-tools/issues/698
NOTE: THIS MUST BE REBASE MERGED!! Files were moved!
Description
All
FindXXX.cmake
files have been hard migrated to Gz.Some downstream packages still use them via the
gz_find_package()
call, so an intercepting redirection of anyIgn
prefixed find calls toGz
has been implemented (with warning.)Hard-tocks
<Package_name>_FIND_VERSION_MINOR
CMake variables are being used (but populated automatically from thefind_package()
call, which might be the Gz or Ign version_FIND_VERSION_MINOR
var)XXX_FIND_COMPONENTS
Tick-tocks
set()
with an Ign prefix, just in case they'll be used downstreamNotes
gz_import_target
is being called to generate targets.The call itself is made of several components:
That is,
add_library()
call toGLOBAL
visibility.