コード例 #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"
コード例 #2
0
    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
コード例 #3
0
ファイル: libffi.py プロジェクト: vibhcool/emerge
    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"
コード例 #4
0
ファイル: akiirc-091015.py プロジェクト: KDE/emerge-history
 def __init__( self, **args ):
     self.subinfo = subinfo()
     CMakePackageBase.__init__(self)
コード例 #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"
コード例 #6
0
 def __init__(self, **args):
     CMakePackageBase.__init__(self)
コード例 #7
0
ファイル: akiirc.py プロジェクト: TheOneRing/emerge
 def __init__( self, **args ):
     CMakePackageBase.__init__(self)