Author: mikej Date: Fri Mar 6 16:28:32 2009 New Revision: 12492 Log: build: fix rebuild every time on msvc 2008 non team editions (FSBUILD-132) Modified: freeswitch/trunk/w32/Library/ (props changed) freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj Modified: freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj ============================================================================== --- freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj (original) +++ freeswitch/trunk/w32/Library/FreeSwitchCore.2008.vcproj Fri Mar 6 16:28:32 2009 @@ -30,7 +30,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="" + 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 " /> <Tool Name="VCCustomBuildTool" @@ -60,7 +60,7 @@ WarnAsError="true" DebugInformationFormat="3" ForcedIncludeFiles="" - EnablePREfast="true" + EnablePREfast="$(EnablePREfast)" /> <Tool Name="VCManagedResourceCompilerTool" @@ -79,7 +79,7 @@ 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)"" AddModuleNamesToAssembly="" GenerateDebugInformation="true" - ProgramDatabaseFile="$(SolutionDir)$(OutDir)/FreeSwitch.pdb" + ProgramDatabaseFile="$(OutDir)/FreeSwitch.pdb" SubSystem="2" OptimizeReferences="0" EnableCOMDATFolding="0" @@ -122,7 +122,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="" + 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 " /> <Tool Name="VCCustomBuildTool" @@ -153,7 +153,7 @@ WarnAsError="false" DebugInformationFormat="3" ForcedIncludeFiles="" - EnablePREfast="true" + EnablePREfast="$(EnablePREfast)" /> <Tool Name="VCManagedResourceCompilerTool" @@ -172,7 +172,7 @@ 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)"" AddModuleNamesToAssembly="" GenerateDebugInformation="true" - ProgramDatabaseFile="$(SolutionDir)$(OutDir)/FreeSwitch.pdb" + ProgramDatabaseFile="$(OutDir)/FreeSwitch.pdb" SubSystem="2" OptimizeReferences="0" EnableCOMDATFolding="0" @@ -215,7 +215,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="" + 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 " /> <Tool Name="VCCustomBuildTool" @@ -242,6 +242,7 @@ WarningLevel="4" WarnAsError="true" DebugInformationFormat="3" + EnablePREfast="$(EnablePREfast)" /> <Tool Name="VCManagedResourceCompilerTool" @@ -302,7 +303,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="" + 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 " /> <Tool Name="VCCustomBuildTool" @@ -330,6 +331,7 @@ WarningLevel="4" WarnAsError="false" DebugInformationFormat="3" + EnablePREfast="$(EnablePREfast)" /> <Tool Name="VCManagedResourceCompilerTool" @@ -763,46 +765,6 @@ <File RelativePath="..\..\src\switch_xml.c" > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="0" - PrecompiledHeaderThrough="" - PrecompiledHeaderFile="" - /> - </FileConfiguration> - <FileConfiguration - Name="Debug|x64" - > - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="0" - PrecompiledHeaderThrough="" - PrecompiledHeaderFile="" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="0" - PrecompiledHeaderThrough="" - PrecompiledHeaderFile="" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|x64" - > - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="0" - PrecompiledHeaderThrough="" - PrecompiledHeaderFile="" - /> - </FileConfiguration> </File> <File RelativePath="..\..\src\switch_xml_config.c"