cmaize.targets/cxx_interface_library

class cmaize.targets/cxx_interface_library.CXXInterfaceLibrary

Bases: CXXLibrary

Methods

_access_level(_al_result)

Get the access level for the target.

Note

Implements CXXTarget(_access_level.

Parameters:
  • self (CXXInterfaceLibrary) – CXXInterfaceLibrary object

  • _al_result (desc*) – Return variable holding the access level result.

Returns:

Access level of the target.

Return type:

desc

_create_target()

Creates the interface library target with add_library().

Note

Overrides BuildTarget(_create_target.

Parameters:

self (CXXInterfaceLibrary) – CXXInterfaceLibrary object

_set_public_headers()

CMake doesn’t let interface libraries set their public headers, so this function is a no-op.

Note

Overrides CXXTarget(_set_public_headers.

Parameters:

self (CXXInterfaceLibrary) – CXXInterfaceLibrary object