cmaize.targets/cxx_library
- class cmaize.targets/cxx_library.CXXLibrary
Bases:
CXXTarget,CMaizeLibraryAdditional Constructors
- CTOR(_ctor_name)
Creates a
CXXLibraryobject to manage the named target.- Parameters:
self (CXXLibrary) – CXXLibrary 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:
selfwill be set to the newly constructedCXXLibraryobject.- Return type:
Methods
- _create_target()
Creates the library target with
add_library().Creates a
STATICorSHAREDlibrary based on if the variableBUILD_SHARED_LIBSisON.Note
Overrides
BuildTarget(_create_target.- Parameters:
self (CXXLibrary) – CXXLibrary object