Esempio n. 1
0
    def __init__(self, **args):
        CMakePackageBase.__init__(self)

        self.toolset = ""
        if compiler.isMSVC2013():
            self.toolset = "vs12"
        elif compiler.isMSVC2015():
            self.toolset = "vs14"
        self.msvcDir = os.path.join(self.sourceDir(), "build", "win32",
                                    self.toolset)

        if self.buildType() == "Debug":
            self.bt = "Debug"
        else:
            self.bt = "Release"
    def __init__( self ):
        self.subinfo = subinfo()
        CMakePackageBase.__init__( self )
        defines = ""
        defines += "-DBUILD_karbon=OFF "
        defines += "-DBUILD_kpresenter=OFF "
        defines += "-DBUILD_kchart=OFF "
        defines += "-DBUILD_kdgantt=OFF "
        defines += "-DBUILD_kexi=OFF "
        defines += "-DBUILD_kivio=OFF "
        defines += "-DBUILD_kounavail=OFF "
        defines += "-DBUILD_kplato=OFF "
        defines += "-DBUILD_krita=OFF "
        defines += "-DBUILD_kword=OFF "
#        defines += "-DBUILD_kspread=OFF "
        defines += "-DBUILD_doc=OFF "
        self.subinfo.options.configure.defines = defines
Esempio n. 3
0
    def __init__(self, **args):
        CMakePackageBase.__init__(self)

        toolset = ""
        if compiler.isMSVC2013():
            toolset = "vc12"
        elif compiler.isMSVC2015():
            toolset = "vc14"
        self.arch = "x86"
        if compiler.isX64():
            self.arch = "x64"
        self.msvcDir = os.path.join(self.sourceDir(), "win32",
                                    "%s_%s" % (toolset, self.arch))

        if self.buildType() == "Debug":
            self.bt = "Debug"
        else:
            self.bt = "Release"
Esempio n. 4
0
 def __init__( self, **args ):
     self.subinfo = subinfo()
     CMakePackageBase.__init__(self)
Esempio n. 5
0
 def __init__(self, **args):
     CMakePackageBase.__init__(self)
     self.subinfo.options.fetch.checkoutSubmodules = True
     # clangformat requires a patched clang
     self.subinfo.options.configure.args += " -DBUILD_PLUGIN_CLANGFORMAT=OFF -WITH_DOCS=ON"
Esempio n. 6
0
 def __init__(self, **args):
     CMakePackageBase.__init__(self)
Esempio n. 7
0
 def __init__( self, **args ):
     CMakePackageBase.__init__(self)