Programmatically Setting the Inputs and Outputs properties of a Target.

Hi, I'm setting up a build system on top of MSbuild, I'm trying the set the Inputs and Outputs Attributes of a task.

The Name, DependsOnTargets and some other properties are available but I can't find how I can access the Inputs and Outputs of a target.

Am I missing some obvious way to do it

thanks;

Nicolas

// Create a target for this Asset

Target^ tgt = m_Project->Targets->AddNewTarget(L"Build_" + _CreateMSBuildName(iAsset->BaseName));

// Add Dependencies

tgt->DependsOnTargets = depends;

// Specify Inputs and Outputs



Answer this question

Programmatically Setting the Inputs and Outputs properties of a Target.

  • tom_7

    Hi,

    Unfortunately we do not have a way to set the Inputs and Outputs attribute of a Target via the OM.

    Thanks,

    Jay


  • Programmatically Setting the Inputs and Outputs properties of a Target.