1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package com.github.maven_nar.cpptasks.compiler;
21
22 import java.io.File;
23
24 import org.apache.tools.ant.types.Environment;
25
26 import com.github.maven_nar.cpptasks.parser.CParser;
27 import com.github.maven_nar.cpptasks.parser.Parser;
28
29
30
31
32
33
34 public abstract class PrecompilingCommandLineCCompiler extends PrecompilingCommandLineCompiler {
35 protected PrecompilingCommandLineCCompiler(final String command, final String identifierArg,
36 final String[] sourceExtensions, final String[] headerExtensions, final String outputSuffix,
37 final boolean libtool, final PrecompilingCommandLineCCompiler libtoolCompiler, final boolean newEnvironment,
38 final Environment env) {
39 super(command, identifierArg, sourceExtensions, headerExtensions, outputSuffix, libtool, libtoolCompiler,
40 newEnvironment, env);
41 }
42
43 @Override
44 protected Parser createParser(final File source) {
45 return new CParser();
46 }
47 }