1 28 29 package org.objectweb.util.cpp.lib; 30 31 import org.objectweb.util.cpp.api.Preprocessor; 32 33 41 public class OptionIDIR 42 extends PreprocessorOptionBase 43 { 44 50 56 61 public 62 OptionIDIR(Preprocessor preprocessor) 63 { 64 setLabels(new String [] { "-IDIR" }); 65 setDescription(new String [] { "Put DIR in the include file search path"}); 66 setPreprocessor(preprocessor); 67 } 68 69 75 81 87 93 98 public String getBaseOptionLabel() { 99 return "-I"; 100 } 101 102 107 public void consumeOption(String current) { 108 getPreprocessor().addIncludeDirectory(current); 110 } 111 112 } 118 | Popular Tags |