def _extra_config(self): extra_config = [] print(self.installdir) for root in [self.installdir, self.project.stage_dir]: paths = common.get_library_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("LIBS+=\"-L{}\"".format(path)) extra_config.append("LIBS+=\"-L{}\"".format( QmakePlugin._build_qt_path('lib'))) extra_config.append("QMAKE_LIBS+=\"-L{}\"".format( QmakePlugin._build_qt_path('lib'))) extra_config.append("QMAKE_LIBDIR+=\"{}\"".format( QmakePlugin._build_qt_path('lib'))) paths = common.get_include_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("INCLUDEPATH+=\"{}\"".format(path)) extra_config.append("INCLUDEPATH+=\"{}\"".format( QmakePlugin._build_qt_path('include'))) extra_config.append("QML_IMPORT_PATH+=\"{}\"".format( QmakePlugin._build_qt_path('qml'))) extra_config.append("QML2_IMPORT_PATH+=\"{}\"".format( QmakePlugin._build_qt_path('qml'))) return extra_config
def cxxflags(self): paths = set( common.get_include_paths(self._compilers_install_path, self._project.arch_triplet)) try: paths.add( _get_highest_version_path( os.path.join(self._compilers_install_path, "usr", "include", "c++"))) paths.add( _get_highest_version_path( os.path.join( self._compilers_install_path, "usr", "include", self._project.arch_triplet, "c++", ))) except CatkinNoHighestVersionPathError as e: raise CatkinGccVersionError(str(e)) return formatting_utils.combine_paths(paths, prepend="-I", separator=" ")
def cxxflags(self): paths = set( common.get_include_paths( self._compilers_install_path, self._project.arch_triplet ) ) try: paths.add( _get_highest_version_path( os.path.join(self._compilers_install_path, "usr", "include", "c++") ) ) paths.add( _get_highest_version_path( os.path.join( self._compilers_install_path, "usr", "include", self._project.arch_triplet, "c++", ) ) ) except RuntimeError as e: raise RuntimeError("Unable to determine gcc version: {}".format(str(e))) return formatting_utils.combine_paths(paths, prepend="-I", separator=" ")
def cxxflags(self): paths = set( common.get_include_paths(self._compilers_install_path, self._project.arch_triplet)) try: paths.add( _get_highest_version_path( os.path.join(self._compilers_install_path, "usr", "include", "c++"))) paths.add( _get_highest_version_path( os.path.join( self._compilers_install_path, "usr", "include", self._project.arch_triplet, "c++", ))) except RuntimeError as e: raise RuntimeError("Unable to determine gcc version: {}".format( str(e))) return formatting_utils.combine_paths(paths, prepend="-I", separator=" ")
def _extra_config(self): extra_config = [] for root in [self.installdir, self.project.stage_dir]: paths = common.get_library_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("LIBS+=\"-L{}\"".format(path)) paths = common.get_include_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("INCLUDEPATH+=\"{}\"".format(path)) return extra_config
def _extra_config(self): extra_config = [] for root in [self.installdir, self.project.stage_dir]: paths = common.get_library_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("LIBS+=\"-L{}\"".format(path)) paths = common.get_include_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("INCLUDEPATH+=\"{}\"".format(path)) return extra_config
def cxxflags(self): paths = set(common.get_include_paths( self._compilers_install_path, self._project.arch_triplet)) try: paths.add(_get_highest_version_path(os.path.join( self._compilers_install_path, 'usr', 'include', 'c++'))) paths.add(_get_highest_version_path(os.path.join( self._compilers_install_path, 'usr', 'include', self._project.arch_triplet, 'c++'))) except RuntimeError as e: raise RuntimeError('Unable to determine gcc version: {}'.format( str(e))) return formatting_utils.combine_paths( paths, prepend='-I', separator=' ')
def cxxflags(self): paths = set(common.get_include_paths( self._compilers_install_path, self._project.arch_triplet)) try: paths.add(_get_highest_version_path(os.path.join( self._compilers_install_path, 'usr', 'include', 'c++'))) paths.add(_get_highest_version_path(os.path.join( self._compilers_install_path, 'usr', 'include', self._project.arch_triplet, 'c++'))) except RuntimeError as e: raise RuntimeError('Unable to determine gcc version: {}'.format( str(e))) return formatting_utils.combine_paths( paths, prepend='-I', separator=' ')
def _extra_config(self): extra_config = [] for root in [self.installdir, self.project.stage_dir]: paths = common.get_library_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("LIBS+=\"-L{}\"".format(path)) extra_config.append("LIBS+=\"-L{}\"".format(self.project.parts_dir + '/qt-5-11-1/install/lib')) extra_config.append("QMAKE_LIBS+=\"-L{}\"".format(self.project.parts_dir + '/qt-5-11-1/install/lib')) extra_config.append("QMAKE_LIBDIR+=\"{}\"".format(self.project.parts_dir + '/qt-5-11-1/install/lib')) paths = common.get_include_paths(root, self.project.arch_triplet) for path in paths: extra_config.append("INCLUDEPATH+=\"{}\"".format(path)) extra_config.append("INCLUDEPATH+=\"{}\"".format(self.project.parts_dir + '/qt-5-11-1/install/include')) extra_config.append("QML_IMPORT_PATH+=\"{}\"".format(self.project.parts_dir + '/qt-5-11-1/install/qml')) extra_config.append("QML2_IMPORT_PATH+=\"{}\"".format(self.project.parts_dir + '/qt-5-11-1/install/qml')) return extra_config