(self)
return libpath
Microsoft Windows SDK Libraries Paths
Microsoft Windows SDK Libraries Paths
Microsoft Windows SDK Libraries Paths
def OSLibpath(self):
        """
        Microsoft Windows SDK Libraries Paths
        """
        ref = os.path.join(self.si.WindowsSdkDir, 'References')
        libpath = []

        if self.vc_ver <= 9.0:
            libpath += self.OSLibraries

        if self.vc_ver >= 11.0:
            libpath += [os.path.join(ref, r'CommonConfiguration\Neutral')]

        if self.vc_ver >= 14.0:
            libpath += [
                ref,
                os.path.join(self.si.WindowsSdkDir, 'UnionMetadata'),
                os.path.join(
                    ref,
                    'Windows.Foundation.UniversalApiContract',
                    '1.0.0.0',
                ),
                os.path.join(
                    ref,
                    'Windows.Foundation.FoundationContract',
                    '1.0.0.0',
                ),
                os.path.join(
                    ref,
                    'Windows.Networking.Connectivity.WwanContract',
                    '1.0.0.0',
                ),
                os.path.join(
                    self.si.WindowsSdkDir,
                    'ExtensionSDKs',
                    'Microsoft.VCLibs',
                    '%0.1f' % self.vc_ver,
                    'References',
                    'CommonConfiguration',
                    'neutral',
                ),
            ]
        return libpath
def OSLibpath ( self ) : ref = os . path . join ( self . si . WindowsSdkDir , 'References' ) libpath = [ ] if self . vc_ver <= 9.0 : libpath += self . OSLibraries if self . vc_ver >= 11.0 : libpath += [ os . path . join ( ref , r'CommonConfiguration\Neutral' ) ] if self . vc_ver >= 14.0 : libpath += [ ref , os . path . join ( self . si . WindowsSdkDir , 'UnionMetadata' ) , os . path . join ( ref , 'Windows.Foundation.UniversalApiContract' , '1.0.0.0' , ) , os . path . join ( ref , 'Windows.Foundation.FoundationContract' , '1.0.0.0' , ) , os . path . join ( ref , 'Windows.Networking.Connectivity.WwanContract' , '1.0.0.0' , ) , os . path . join ( self . si . WindowsSdkDir , 'ExtensionSDKs' , 'Microsoft.VCLibs' , '%0.1f' % self . vc_ver , 'References' , 'CommonConfiguration' , 'neutral' , ) , ] return libpath