{* *}
{* Is this a dir or an item? *}
{* *}
{if is_array($dirWalk)}
{* *}
{* Iterate over children *}
{* *}
{foreach from=$dirWalk item=dir key=key}
{include file="vc2010_fileRecurse.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
{/foreach}
{else}
{* *}
{* Output an item *}
{* *}
{capture assign="itemOut"}
{* we don't compile some files. *}
{if dontCompile($dirWalk->path, $projOutput)}
true
true
true
{else}
{if substr($dirWalk->path, -4, 4) == ".asm"}
"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"
$(IntDir)%(Filename).obj;%(Outputs)
"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"
$(IntDir)%(Filename).obj;%(Outputs)
"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"
$(IntDir)%(Filename).obj;%(Outputs)
{elseif $projOutput->isSourceFile( $dirWalk->path ) }
{elseif $projOutput->isResourceFile( $dirWalk->path ) }
{else}
{/if}{* if path == "*.asm" *}
{/if}{* if dontCompile() *}
{/capture}
{$itemOut|indent:$depth:"\t"}
{/if}