Package com.github.maven_nar.cpptasks.types

Examples of com.github.maven_nar.cpptasks.types.SystemIncludePath


            throw new java.lang.IllegalStateException("project must be set");
        }
        if (isReference()) {
            throw noChildrenAllowed();
        }
        SystemIncludePath path = new SystemIncludePath(p);
        sysIncludePaths.addElement(path);
        return path;
    }
View Full Code Here


   */
  public void testExtendsSysIncludePath() {
    CompilerDef baseCompiler = new CompilerDef();
    CompilerDef extendedCompiler = (CompilerDef) createExtendedProcessorDef(
        baseCompiler);
    SystemIncludePath path = baseCompiler.createSysIncludePath();
    path.setPath("/tmp");
    String[] preArgs = getPreArguments(extendedCompiler);
    System.out.println("Class: " + baseCompiler + " and: " + extendedCompiler);
    // BEGINFREEHEP, passes extra option
    assertEquals(3, preArgs.length);
    assertEquals("-isystem", preArgs[2].substring(0, 8));
View Full Code Here

   */
  public void testExtendsSysIncludePath() {
    CompilerDef baseCompiler = new CompilerDef();
    CompilerDef extendedCompiler = (CompilerDef) createExtendedProcessorDef(
        baseCompiler);
    SystemIncludePath path = baseCompiler.createSysIncludePath();
    path.setPath("/tmp");
    String[] preArgs = getPreArguments(extendedCompiler);
    System.out.println("Class: " + baseCompiler + " and: " + extendedCompiler);
    // BEGINFREEHEP, passes extra option
    assertEquals(3, preArgs.length);
    assertEquals("-isystem", preArgs[2].substring(0, 8));
View Full Code Here

            throw new java.lang.IllegalStateException("project must be set");
        }
        if (isReference()) {
            throw noChildrenAllowed();
        }
        SystemIncludePath path = new SystemIncludePath(p);
        sysIncludePaths.addElement(path);
        return path;
    }
View Full Code Here

TOP

Related Classes of com.github.maven_nar.cpptasks.types.SystemIncludePath

Copyright © 2018 www.massapicom. 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.