>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine=""\r
+ CommandLine="echo Testing for Code Analysis support
echo ; > "$(OutDir)\TestAnalysis.c
cl /analyze /nologo /c "$(OutDir)\TestAnalysis.c" | findstr D9040
if ERRORLEVEL 0 set EnablePREfast="false" else set EnablePREfast="true"
exit 0
"\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
WarnAsError="true"\r
DebugInformationFormat="3"\r
ForcedIncludeFiles=""\r
- EnablePREfast="true"\r
+ EnablePREfast="$(EnablePREfast)"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
AdditionalLibraryDirectories=""$(InputDir)..\..\libs\apr\$(OutDir)";"$(InputDir)..\..\libs\sqlite\$(OutDir) DLL";"$(InputDir)..\..\libs\apr-util\$(OutDir)";"$(InputDir)..\..\libs\apr-iconv\$(OutDir)";"$(InputDir)..\..\libs\libresample\win";"$(InputDir)..\..\libs\srtp\$(OutDir)""\r
AddModuleNamesToAssembly=""\r
GenerateDebugInformation="true"\r
- ProgramDatabaseFile="$(SolutionDir)$(OutDir)/FreeSwitch.pdb"\r
+ ProgramDatabaseFile="$(OutDir)/FreeSwitch.pdb"\r
SubSystem="2"\r
OptimizeReferences="0"\r
EnableCOMDATFolding="0"\r
>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine=""\r
+ CommandLine="echo Testing for Code Analysis support
echo ; > "$(OutDir)\TestAnalysis.c
cl /analyze /nologo /c "$(OutDir)\TestAnalysis.c" | findstr D9040
if ERRORLEVEL 0 set EnablePREfast="false" else set EnablePREfast="true"
exit 0
"\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
WarnAsError="false"\r
DebugInformationFormat="3"\r
ForcedIncludeFiles=""\r
- EnablePREfast="true"\r
+ EnablePREfast="$(EnablePREfast)"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
AdditionalLibraryDirectories=""$(InputDir)..\..\libs\apr\$(OutDir)";"$(InputDir)..\..\libs\sqlite\$(OutDir) DLL";"$(InputDir)..\..\libs\apr-util\$(OutDir)";"$(InputDir)..\..\libs\apr-iconv\$(OutDir)";"$(InputDir)..\..\libs\libresample\win";"$(InputDir)..\..\libs\srtp\$(OutDir)""\r
AddModuleNamesToAssembly=""\r
GenerateDebugInformation="true"\r
- ProgramDatabaseFile="$(SolutionDir)$(OutDir)/FreeSwitch.pdb"\r
+ ProgramDatabaseFile="$(OutDir)/FreeSwitch.pdb"\r
SubSystem="2"\r
OptimizeReferences="0"\r
EnableCOMDATFolding="0"\r
>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine=""\r
+ CommandLine="echo Testing for Code Analysis support
echo ; > "$(OutDir)\TestAnalysis.c
cl /analyze /nologo /c "$(OutDir)\TestAnalysis.c" | findstr D9040
if ERRORLEVEL 0 set EnablePREfast="false" else set EnablePREfast="true"
exit 0
"\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
WarningLevel="4"\r
WarnAsError="true"\r
DebugInformationFormat="3"\r
+ EnablePREfast="$(EnablePREfast)"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
>\r
<Tool\r
Name="VCPreBuildEventTool"\r
- CommandLine=""\r
+ CommandLine="echo Testing for Code Analysis support
echo ; > "$(OutDir)\TestAnalysis.c
cl /analyze /nologo /c "$(OutDir)\TestAnalysis.c" | findstr D9040
if ERRORLEVEL 0 set EnablePREfast="false" else set EnablePREfast="true"
exit 0
"\r
/>\r
<Tool\r
Name="VCCustomBuildTool"\r
WarningLevel="4"\r
WarnAsError="false"\r
DebugInformationFormat="3"\r
+ EnablePREfast="$(EnablePREfast)"\r
/>\r
<Tool\r
Name="VCManagedResourceCompilerTool"\r
<File\r
RelativePath="..\..\src\switch_xml.c"\r
>\r
- <FileConfiguration\r
- Name="Debug|Win32"\r
- >\r
- <Tool\r
- Name="VCCLCompilerTool"\r
- UsePrecompiledHeader="0"\r
- PrecompiledHeaderThrough=""\r
- PrecompiledHeaderFile=""\r
- />\r
- </FileConfiguration>\r
- <FileConfiguration\r
- Name="Debug|x64"\r
- >\r
- <Tool\r
- Name="VCCLCompilerTool"\r
- UsePrecompiledHeader="0"\r
- PrecompiledHeaderThrough=""\r
- PrecompiledHeaderFile=""\r
- />\r
- </FileConfiguration>\r
- <FileConfiguration\r
- Name="Release|Win32"\r
- >\r
- <Tool\r
- Name="VCCLCompilerTool"\r
- UsePrecompiledHeader="0"\r
- PrecompiledHeaderThrough=""\r
- PrecompiledHeaderFile=""\r
- />\r
- </FileConfiguration>\r
- <FileConfiguration\r
- Name="Release|x64"\r
- >\r
- <Tool\r
- Name="VCCLCompilerTool"\r
- UsePrecompiledHeader="0"\r
- PrecompiledHeaderThrough=""\r
- PrecompiledHeaderFile=""\r
- />\r
- </FileConfiguration>\r
</File>\r
<File\r
RelativePath="..\..\src\switch_xml_config.c"\r