cpptasks: Compile tasks for Apache Ant - precompile

ant-contrib

##### Get cpptasks

- Download
- Changes
- License

##### About cpptasks

- Usage

##### Elements

- cc
- compiler
- defineset
- distributer
- libraryset
- linker
- syslibraryset
- targetplatform
- versioninfo

##### Community

- Mailing Lists
- Issue Tracking
- Project Page
- News

##### Development

- Repository
- JavaDoc
- Continuous Integration

## precompile

### Description

An element that specifies a prototype file and rules for source files that should not use precompiled headers

### parameters

Attribute | Description | Type
description | Sets a description of the current data type. | String
id | Sets an id that can be used to reference this element. | String
if | Set the 'if' condition. The processor will be ignored unless the property is defined. The value of property is insignificant, but values that would imply misinterpretation ("false", "no") will throw an exception when isActive() is evaluated. | String
prototype | Sets file to precompile. Should be a source file that includes only one unguarded header file. Default value is "stdafx.cpp". | File
refid | Specifies that this element should behave as if the content of the element with the matching id attribute was inserted at this location. | Reference
unless | Set the 'unless' condition. If named property exists at execution time, the processor will be ignored. Value of property is insignificant, but values that would imply misinterpretation ("false", "no") of the behavior will throw an exception when isActive is called. | String

### parameters as nested elements

except
  Adds filesets that specify files that should not be processed with precompiled headers enabled.