vc2k8_fileRecurseCSharp.tpl 335 B

123456789
  1. {if is_array($dirWalk)}
  2. {foreach from=$dirWalk item=dir key=key}
  3. {include file="vc2k8_fileRecurseCSharp.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
  4. {/foreach}
  5. {else}
  6. <Compile Include="{$dirWalk->path|replace:'/':'\\'}" >
  7. <Link>{$dirWalk->path|replace:'../':''|replace:'/':'\\'}</Link>
  8. </Compile>
  9. {/if}