Make docs build when header files change, make svnversion work properly with long file names both on msvc. Still need to address the situation when svnversion is not found on the machine, when the internet is not available to determine version at build time, or what to do when the release is from a tarball, and not an svn checkout.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@320 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-01-12 01:06:20 +00:00
parent ba43278132
commit e0c290de99
2 changed files with 35 additions and 116 deletions

View File

@ -11,23 +11,25 @@
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
ConfigurationType="4"
BuildLogFile=""
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
CommandLine="doxygen $(InputDir)Doxygen.conf"
Outputs="html/index.html"
/>
<Tool
Name="Doxygen"
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
@ -40,6 +42,8 @@
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\src\include; ..\libs\include"
PreprocessorDefinitions="WIN32"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -51,29 +55,23 @@
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
Name="VCLibrarianTool"
OutputFile=""
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
OutputDocumentFile=""
/>
<Tool
Name="VCBscMakeTool"
OutputFile=""
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
@ -82,18 +80,18 @@
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
ConfigurationType="4"
BuildLogFile=""
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
CommandLine="doxygen $(InputDir)Doxygen.conf"
Outputs="html/index.html"
/>
<Tool
Name="Doxygen"
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
@ -106,6 +104,8 @@
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\src\include; ..\libs\include"
PreprocessorDefinitions="WIN32"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,29 +117,23 @@
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
Name="VCLibrarianTool"
OutputFile=""
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
OutputDocumentFile=""
/>
<Tool
Name="VCBscMakeTool"
OutputFile=""
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
@ -160,7 +154,10 @@
Name="Debug|Win32"
>
<Tool
Name="Doxygen"
Name="VCCustomBuildTool"
CommandLine="doxygen $(InputPath)"
AdditionalDependencies="..\src\include\switch.h;..\src\include\switch_apr.h;..\src\include\switch_buffer.h;..\src\include\switch_caller.h;..\src\include\switch_channel.h;..\src\include\switch_config.h;..\src\include\switch_console.h;..\src\include\switch_core.h;..\src\include\switch_event.h;..\src\include\switch_frame.h;..\src\include\switch_loadable_module.h;..\src\include\switch_module_interface.h;..\src\include\switch_mutex.h;..\src\include\switch_platform.h;..\src\include\switch_resample.h;..\src\include\switch_sqlite.h;..\src\include\switch_types.h;..\src\include\switch_utils.h"
Outputs="html/index.html"
/>
</FileConfiguration>
<FileConfiguration
@ -168,91 +165,13 @@
>
<Tool
Name="VCCustomBuildTool"
CommandLine=""
AdditionalDependencies=""
Outputs=""
CommandLine="doxygen $(InputPath)"
AdditionalDependencies="..\src\include\switch.h;..\src\include\switch_apr.h;..\src\include\switch_buffer.h;..\src\include\switch_caller.h;..\src\include\switch_channel.h;..\src\include\switch_config.h;..\src\include\switch_console.h;..\src\include\switch_core.h;..\src\include\switch_event.h;..\src\include\switch_frame.h;..\src\include\switch_loadable_module.h;..\src\include\switch_module_interface.h;..\src\include\switch_mutex.h;..\src\include\switch_platform.h;..\src\include\switch_resample.h;..\src\include\switch_sqlite.h;..\src\include\switch_types.h;..\src\include\switch_utils.h"
Outputs="html/index.html"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\src\include\switch.h"
>
</File>
<File
RelativePath="..\src\include\switch_apr.h"
>
</File>
<File
RelativePath="..\src\include\switch_buffer.h"
>
</File>
<File
RelativePath="..\src\include\switch_caller.h"
>
</File>
<File
RelativePath="..\src\include\switch_channel.h"
>
</File>
<File
RelativePath="..\src\include\switch_config.h"
>
</File>
<File
RelativePath="..\src\include\switch_console.h"
>
</File>
<File
RelativePath="..\src\include\switch_core.h"
>
</File>
<File
RelativePath="..\src\include\switch_event.h"
>
</File>
<File
RelativePath="..\src\include\switch_frame.h"
>
</File>
<File
RelativePath="..\src\include\switch_loadable_module.h"
>
</File>
<File
RelativePath="..\src\include\switch_module_interfaces.h"
>
</File>
<File
RelativePath="..\src\include\switch_mutex.h"
>
</File>
<File
RelativePath="..\src\include\switch_platform.h"
>
</File>
<File
RelativePath="..\src\include\switch_resample.h"
>
</File>
<File
RelativePath="..\src\include\switch_sqlite.h"
>
</File>
<File
RelativePath="..\src\include\switch_types.h"
>
</File>
<File
RelativePath="..\src\include\switch_utils.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>

View File

@ -102,7 +102,7 @@ End If
If BuildCore Then
FSO.CopyFile FreeswitchDir & "src\include\switch_version.h.in", FreeswitchDir & "src\include\switch_version.h", true
VersionCmd="svnversion " & FreeswitchDir & " -n"
VersionCmd="svnversion " & quote & FreeswitchDir & "." & quote & " -n"
Set MyFile = fso.CreateTextFile(UtilsDir & "tmpVersion.Bat", True)
MyFile.WriteLine("@" & VersionCmd)
MyFile.Close
@ -822,4 +822,4 @@ End Sub
Function Showpath(folderspec)
Set f = FSO.GetFolder(folderspec)
showpath = f.path & "\"
End Function
End Function