cmaize.targets/cxx_library

class cmaize.targets/cxx_library.CXXLibrary

Bases: CXXTarget

Methods

_create_target()

Creates the library target with add_library().

Creates a STATIC or SHARED library based on if the variable BUILD_SHARED_LIBS is ON.

Note

Overrides BuildTarget(_create_target.

Parameters:

self (CXXLibrary) – CXXLibrary object