Interface PrecompilingCompiler

All Known Implementing Classes:
BorlandCCompiler, DevStudio2005CCompiler, DevStudioCCompiler, DevStudioCompatibleCCompiler, IntelWin32CCompiler, IntelWin64CCompiler, PrecompilingCommandLineCCompiler, PrecompilingCommandLineCompiler

public interface PrecompilingCompiler
A compiler that can utilize precompilation of header files
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • createPrecompileConfigurations

      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. The last (preferrably only) include directive in the prototype file will be used to mark the boundary between pre-compiled and normally compiled headers.
      Parameters:
      config - base configuration
      prototype - 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 configuration