Compiles C/C++ programs using cl.exe
, Microsoft's C/C++ compiler.
For a list of all members of this type, see ClTask Members.
System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.ExternalProgramBase
NAnt.VisualCpp.Tasks.ClTask
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This task is intended for version 13.00.9466 of cl.exe
.
Compiles helloworld.cpp
for the Common Language Runtime.
<cl outputdir="build" options="/clr"> <sources> <include name="helloworld.cpp" /> </sources> </cl>
Namespace: NAnt.VisualCpp.Tasks
Assembly: NAnt.VisualCppTasks (in NAnt.VisualCppTasks.dll)
ClTask Members | NAnt.VisualCpp.Tasks Namespace