Skip to content

Wrapping/Generators ignore ${MyModule}Targets.cmake #650

Description

@phcerdan

I faced this with the module Eigen3 and now with ITKTotalVariation.

I export the dependencies into the ./lib/cmake/ITK-5.0/Modules/Targets/TotalVariationTargets.cmake with a call of itk_module_target(${third_party_lib}) in the external module.

That target file is used by apps using the module, however, the python wrappings are ignoring it.

I haven't found any reference to the targets file in the CMake related to wrapping. It would be extremely helpful to have it!

The targets file is referenced in the module info file (i.e. lib/cmake/ITK-5.0/Modules/TotalVariation.cmake), so it would be a matter of reading it from there in the wrapping/generator module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:EnhancementImprovement of existing methods or implementation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions