Пример #1
0
    def __init__(self, **args):
        MSBuildPackageBase.__init__(self)

        folderSuffix = "x64"
        if CraftCore.compiler.isX86():
            folderSuffix = "x86"
        self.subinfo.options.configure.projectFile = os.path.join(self.sourceDir(), "win32", f"vc14_{folderSuffix}",
                                                                  "libffi-msvc.sln")
Пример #2
0
 def __init__(self, **args):
     MSBuildPackageBase.__init__(self)
     self.toolset = "vs14"
     self.subinfo.options.configure.args = "/p:useenv=true"
     if CraftCore.compiler.isX86():
         self.subinfo.options.configure.args += " /p:Platform=Win32"
     self.subinfo.options.configure.projectFile = os.path.join(
         self.sourceDir(), "build", "win32", self.toolset, "glib.sln")
Пример #3
0
    def __init__(self, **args):
        MSBuildPackageBase.__init__(self)

        self.arch = "x86"
        if craftCompiler.isX64():
            self.arch = "x64"
        self.subinfo.options.configure.projectFile = os.path.join(self.sourceDir(), "win32", f"vc14_{self.arch}",
                                                                  "libffi-msvc.sln")
Пример #4
0
 def __init__(self, **args):
     MSBuildPackageBase.__init__(self)
     self.toolset = "vs14"
     self.subinfo.options.configure.args = "/p:useenv=true"
     self.subinfo.options.configure.projectFile = \
         os.path.join(self.sourceDir(), "build", "win32", self.toolset, "glib.sln")