|
|
|
@ -513,6 +513,11 @@ RUST_ABI_KW: KwargInfo[T.Union[str, None]] = KwargInfo( |
|
|
|
|
since='1.3.0', |
|
|
|
|
validator=in_set_validator({'rust', 'c'})) |
|
|
|
|
|
|
|
|
|
_VS_MODULE_DEFS_KW: KwargInfo[T.Optional[T.Union[str, File, CustomTarget]]] = KwargInfo( |
|
|
|
|
'vs_module_defs', |
|
|
|
|
(str, File, CustomTarget, NoneType), |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# Applies to all build_target like classes |
|
|
|
|
_ALL_TARGET_KWS: T.List[KwargInfo] = [ |
|
|
|
|
OVERRIDE_OPTIONS_KW, |
|
|
|
@ -629,6 +634,7 @@ SHARED_LIB_KWS = [ |
|
|
|
|
*_BUILD_TARGET_KWS, |
|
|
|
|
*_EXCLUSIVE_SHARED_LIB_KWS, |
|
|
|
|
*_EXCLUSIVE_LIB_KWS, |
|
|
|
|
_VS_MODULE_DEFS_KW, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
# Arguments exclusive to SharedModule. These are separated to make integrating |
|
|
|
@ -640,6 +646,7 @@ SHARED_MOD_KWS = [ |
|
|
|
|
*_BUILD_TARGET_KWS, |
|
|
|
|
*_EXCLUSIVE_SHARED_MOD_KWS, |
|
|
|
|
*_EXCLUSIVE_LIB_KWS, |
|
|
|
|
_VS_MODULE_DEFS_KW, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
# Arguments exclusive to JAR. These are separated to make integrating |
|
|
|
@ -662,6 +669,7 @@ LIBRARY_KWS = [ |
|
|
|
|
*_EXCLUSIVE_SHARED_LIB_KWS, |
|
|
|
|
*_EXCLUSIVE_SHARED_MOD_KWS, |
|
|
|
|
*_EXCLUSIVE_STATIC_LIB_KWS, |
|
|
|
|
_VS_MODULE_DEFS_KW, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
# Arguments used by build_Target |
|
|
|
|