cmaize.targets/cmaize_interface_library

class cmaize.targets/cmaize_interface_library.CMaizeInterfaceLibrary

Bases: CMaizeLibrary

Base class for CMaize interface libraries. Intended to be used as a parent or mixin to provide general, programming language-agnostic features for managing interface library targets.

Additional Constructors

CTOR(_ctor_name)

Creates a CMaizeInterfaceLibrary object to manage a target of the given name.

Note

This does not create a corresponding CMake target, so any call that should interact with a target will fail if the target does not already exist.

Parameters:
  • self (CMaizeInterfaceLibrary) – CMaizeInterfaceLibrary object constructed.

  • tgt_name (desc or target) – Name of the target. This should not duplicate any other target name already in scope.

  • _ctor_name (str)

Returns:

self will be set to the newly constructed CMaizeInterfaceLibrary object.

Return type:

CMaizeInterfaceLibrary