Examples of ITool


Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param cf IConfiguration Build configuration
   * @param newIncludePath Include path to be added to LLVM front-end's Include path option
   */
  private static boolean addLlvmIncludePathToToolOption(IConfiguration cf, String newIncludePath) {
    //get LLVM front-end
    ITool llvmFrontEnd = getLlvmFrontEnd(cf);
    //If the LLVM front-end is found from the given build configuration
    if (llvmFrontEnd != null) {
      //get LLVM front-end Include paths option.
      IOption llvmFrontEndIncPathOption = getLlvmFrontEndIncludePathOption(cf);
      //add a new include path to front-end's Include paths option.
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param cf IConfiguration Build configuration
   * @param removeIncludePath Include path to be removed from LLVM front-end's Include path option
   */
  private static boolean removeLlvmIncludePathFromToolOption(IConfiguration cf, String removeIncludePath) {
    //get LLVM front-end
    ITool llvmFrontEnd = getLlvmFrontEnd(cf);
    //If the LLVM front-end is found from the given build configuration
    if (llvmFrontEnd != null) {
      //get LLVM front-end Include paths option.
      IOption llvmFrontEndIncPathOption = getLlvmFrontEndIncludePathOption(cf);
      //remove an include path from front-end's Include paths option.
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param lib Library name
   * @return boolean Returns true if Library Option was added successfully for the LLVM Linker.
   */
  private static boolean addLlvmLibToToolOption(IConfiguration cf, String lib) {
    //get LLVM linker
    ITool llvmLinker = getLlvmLinker(cf);
    //If the LLVM linker is found from the given build configuration
    if (llvmLinker != null) {
      //get LLVM Linker Libraries option
      IOption librariesOption = getLlvmLinkerLibrariesOption(cf);
      //add library to LLVM linker's Libraries Option type
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param removeLib Library name
   * @return boolean Returns true if Library Option was removed successfully from the LLVM Linker.
   */
  private static boolean removeLlvmLibFromToolOption(IConfiguration cf, String removeLib) {
    //get LLVM linker
    ITool llvmLinker = getLlvmLinker(cf);
    //If the LLVM linker is found from the given build configuration
    if (llvmLinker != null) {
      //get LLVM Linker Libraries option
      IOption librariesOption = getLlvmLinkerLibrariesOption(cf);
      //remove a library from LLVM linker's Libraries Option type
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param libDir Library search path
   * @return boolean Returns true if Library search path Option was added successfully for the LLVM Linker.
   */
  private static boolean addLlvmLibSearchPathToToolOption(IConfiguration cf, String libDir) {
    //get LLVM linker
    ITool llvmLinker = getLlvmLinker(cf);
    //If the LLVM linker is found from the given build configuration
    if (llvmLinker != null) {
      //get LLVM Linker Library search path option
      IOption libDirOption = getLlvmLinkerLibrarySearchPathOption(cf);
      //add library search path to LLVM linker's Library Search Path Option type
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param removeLibDir Library search path
   * @return boolean Returns true if Library search path Option was removed successfully from the LLVM Linker.
   */
  private static boolean removeLlvmLibSearchPathFromToolOption(IConfiguration cf, String removeLibDir) {
    //get LLVM linker
    ITool llvmLinker = getLlvmLinker(cf);
    //If the LLVM linker is found from the given build configuration
    if (llvmLinker != null) {
      //get LLVM Linker Library search path option
      IOption libDirOption = getLlvmLinkerLibrarySearchPathOption(cf);
      //remove a library search path from LLVM linker's Library Search Path Option type
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @return ITool LLVM front-end
   */
  private static ITool getLlvmFrontEnd(IConfiguration cf) {
    //get LLVM front-end according to the input type
    for(int i=0; i<inputTypes.length; i++) {
      ITool tool = getIToolByInputType(cf, inputTypes[i]);
      if (tool != null) {
        return tool;
      }
    }
    return null;
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param cf IConfiguration Project build configuration
   * @return IOption Tool option type
   */
  private static IOption getLlvmFrontEndIncludePathOption(IConfiguration cf) {
    //get llvm front-end
    ITool cfTool = getLlvmFrontEnd(cf);
    //get option id for include paths
    String includeOptionId = getOptionId(cfTool, IOption.INCLUDE_PATH);
    return getIToolPathOption(cfTool, includeOptionId);
  }
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param cf IConfiguration Project build configuration
   * @return IOption Tool option type
   */
  private static IOption getLlvmLinkerLibrariesOption(IConfiguration cf) {
    //get llvm linker
    ITool cfTool = getLlvmLinker(cf);
    //get option id for libraries
    String libOptionId = getOptionId(cfTool, IOption.LIBRARIES);
    return getIToolPathOption(cfTool, libOptionId);
  }
View Full Code Here

Examples of org.eclipse.cdt.managedbuilder.core.ITool

   * @param cf IConfiguration Project build configuration
   * @return IOption Tool option type
   */
  private static IOption getLlvmLinkerLibrarySearchPathOption(IConfiguration cf) {
    //get ITool associated with the input extension
    ITool cfTool = cf.getToolFromInputExtension(linkerInputType);
    //get option id for library paths
    String libDirOptionId = getOptionId(cfTool, IOption.LIBRARY_PATHS);
    return getIToolPathOption(cfTool, libDirOptionId);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.