etc/config/windows/filterdef.js
// exclude - if true then file will be excluded from build
if true then file will be excluded from build
if true then file will be excluded from build
function AddFilterFile(filter, filename, filetype, exclude)
{
    var VCFile = filter.AddFile(filename);
    if (null != filetype && typeof(VCFile.FileType) != "undefined")
        VCFile.FileType = filetype;
    var customFileDef = null;
    if (exclude)
    {
        var cfgs = VCFile.FileConfigurations;
        for (var i = 1; i <= cfgs.Count; ++i)
        {
            var cfg = cfgs.Item(i);
            if (typeof(cfg.Tool.ToolKind) != "undefined")
            {
                if (cfg.Tool.ToolKind != "VCCLCompilerTool")
                    exclude = false;
            }
            else if (cfg.Tool.ToolName != "C/C++ Compiler Tool")
                exclude = false;
            cfg.ExcludedFromBuild = exclude;
        }
    }
    else if (".asm" == VCFile.Extension)
        InitAsmTool(VCFile);
}
function AddFilterFile ( filter , filename , filetype , exclude ) { var VCFile = filter . AddFile ( filename ) ; if ( null != filetype && typeof ( VCFile . FileType ) != "undefined" ) VCFile . FileType = filetype ; var customFileDef = null ; if ( exclude ) { var cfgs = VCFile . FileConfigurations ; for ( var i = 1 ; i <= cfgs . Count ; ++ i ) { var cfg = cfgs . Item ( i ) ; if ( typeof ( cfg . Tool . ToolKind ) != "undefined" ) { if ( cfg . Tool . ToolKind != "VCCLCompilerTool" ) exclude = false ; } else if ( cfg . Tool . ToolName != "C/C++ Compiler Tool" ) exclude = false ; cfg . ExcludedFromBuild = exclude ; } } else if ( ".asm" == VCFile . Extension ) InitAsmTool ( VCFile ) ; }
exclude - if true then file will be excluded from build
exclude - if true then file will be excluded from build