Property | Type | Description | |
---|---|---|---|
AreObjsUpToDate | bool | ||
FindUpdatedInclude | string | ||
IsObjUpToDate | bool | ||
IsPchfileUpToDate | bool |
Method | Description | |
---|---|---|
ClTask ( ) : System |
Initializes a new instance of the ClTask class.
|
|
GetObjOutputFile ( string srcFile, string objectPath ) : string |
Determines the file name of the OBJ file for the specified source file.
|
|
QuoteArgumentValue ( string value ) : string |
Quotes an argument value and duplicates trailing backslahes.
|
Method | Description | |
---|---|---|
ExecuteTask ( ) : void |
Compiles the sources.
|
|
NeedsCompiling ( ) : bool |
Determines if the sources need to be compiled.
|
Method | Description | |
---|---|---|
AreObjsUpToDate ( ) : bool | ||
FindUpdatedInclude ( string srcFileName, DateTime objLastWriteTime ) : string |
Determines whether any file that are includes in the specified source file has been updated after the obj was compiled. To determine what includes are defined in a source file, conditional directives are not honored. If a given include cannot be resolved to an existing file, then it will be considered stable. |
|
IsObjUpToDate ( string srcFileName ) : bool | ||
IsPchfileUpToDate ( ) : bool |
Determines whether the precompiled header file is up-to-date. In order to determine accurately whether the precompile header file is up-to-date, we'd need scan all the header files that are pulled in. As this is not implemented right now, its safer to always recompile. |
public static GetObjOutputFile ( string srcFile, string objectPath ) : string | ||
srcFile | string | The source file for which the OBJ file should be determined. |
objectPath | string | The path of the object file. |
return | string |
public static QuoteArgumentValue ( string value ) : string | ||
value | string | The argument value to quote. |
return | string |