public interface PrecompilingCompiler
Modifier and Type | Method and Description |
---|---|
CompilerConfiguration[] |
createPrecompileConfigurations(CompilerConfiguration config,
File prototype,
String[] nonPrecompiledFiles)
This method may be used to get two distinct compiler configurations, one
for compiling the specified file and producing a precompiled header
file, and a second for compiling other files using the precompiled
header file.
|
CompilerConfiguration[] createPrecompileConfigurations(CompilerConfiguration config, File prototype, String[] nonPrecompiledFiles)
config
- base configurationprototype
- A source file (for example, stdafx.cpp) that is used to build
the precompiled header file. @returns null if precompiled
headers are not supported or a two element array containing
the precompiled header generation configuration and the
consuming configurationCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.