def install( self): """install the target""" if not BuildSystemBase.install(self): return False self.enterBuildDir() fastString = "" if not self.noFast: fastString = "/fast" if self.subinfo.options.install.useMakeToolForInstall: if compiler.isMSVC2008() and (self.subinfo.options.cmake.useIDE or self.subinfo.options.cmake.openIDE): if self.isTargetBuild(): command = "vcbuild INSTALL.vcproj \"%s|Windows Mobile 6 Professional SDK (ARMV4I)\"" % self.buildType() else: command = "vcbuild INSTALL.vcproj \"%s|Win32\"" % self.buildType() else: os.putenv("DESTDIR",self.installDir()) command = "%s install%s" % ( self.makeProgramm, fastString ) else: command = "cmake -DCMAKE_INSTALL_PREFIX=%s -P cmake_install.cmake" % self.installDir() if self.isTargetBuild(): self.setupTargetToolchain() self.system( command, "install" ) if self.subinfo.options.install.useMakeToolForInstall and not (self.subinfo.options.cmake.useIDE or self.subinfo.options.cmake.openIDE): utils.fixCmakeImageDir( self.installDir(), self.mergeDestinationDir() ) return True
def kdeInstall( self ): """making all required stuff for installing cmake based modules""" if( not self.buildType == None ): if( not self.kdeInstallInternal( self.buildType ) ): return False else: if( not self.kdeInstallInternal( "debug" ) ): return False if( not self.kdeInstallInternal( "release" ) ): return False utils.fixCmakeImageDir( self.imagedir, self.rootdir ) return True
def install( self ): if not AutoToolsPackageBase.install( self ): return False ## @todo move to AutoToolsPackageBase::install utils.fixCmakeImageDir( self.installDir(), self.mergeDestinationDir().replace(":","\\" ) ) # do not create msvc import libs in x64 mode if self.buildArchitecture() == "x64": return True for libs in "libiconv-2 libcharset-1".split(): if not self.createImportLibs( libs ): return False; return True