[TeamTalk 164]: [700] TeamTalk: 1) TeamTalkBuild and TeamTalkRebuild. bat now do not give an error upon launch.

bfrisch@edam.speech.cs.cmu.edu bfrisch at edam.speech.cs.cmu.edu
Wed Aug 15 16:04:34 EDT 2007


An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20070815/bee10067/attachment.html
-------------- next part --------------
Modified: TeamTalk/Agents/PrimitiveComm/PrimitiveComm.vcproj
===================================================================
--- TeamTalk/Agents/PrimitiveComm/PrimitiveComm.vcproj	2007-08-14 19:42:02 UTC (rev 699)
+++ TeamTalk/Agents/PrimitiveComm/PrimitiveComm.vcproj	2007-08-15 20:04:33 UTC (rev 700)
@@ -84,14 +84,16 @@
 		</Configuration>
 		<Configuration
 			Name="Release|Win32"
-			OutputDirectory="Release"
-			IntermediateDirectory="Release"
+			OutputDirectory="$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
 			ConfigurationType="4"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 			CharacterSet="2"
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				Description="Make the directories to later copy the build to."
+				CommandLine="IF NOT EXIST ..\..\bin\nul mkdir ..\..\bin; IF NOT EXIST ..\..\bin\X86-NT\nul mkdir ..\..\bin\x86-nt"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -144,6 +146,8 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
+				Description="Copy built executable to Bin directory"
+				CommandLine="copy &quot;$(TargetPath)&quot; ..\..\Bin\x86-nt"
 			/>
 		</Configuration>
 	</Configurations>

Modified: TeamTalk/Agents/TeamTalkBackend/TeamTalkBackend.vcproj
===================================================================
--- TeamTalk/Agents/TeamTalkBackend/TeamTalkBackend.vcproj	2007-08-14 19:42:02 UTC (rev 699)
+++ TeamTalk/Agents/TeamTalkBackend/TeamTalkBackend.vcproj	2007-08-15 20:04:33 UTC (rev 700)
@@ -100,7 +100,7 @@
 		</Configuration>
 		<Configuration
 			Name="Release|Win32"
-			OutputDirectory="Release"
+			OutputDirectory="$(ConfigurationName)"
 			IntermediateDirectory="Release"
 			ConfigurationType="1"
 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
@@ -108,6 +108,8 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				Description="Make the directories to later copy the build to."
+				CommandLine="IF NOT EXIST ..\..\bin\nul mkdir ..\..\bin; IF NOT EXIST ..\..\bin\X86-NT\nul mkdir ..\..\bin\x86-nt"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -177,7 +179,8 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="copy &quot;$(TargetPath)&quot; ..\..\bin\x86-nt\$(TargetName).exe"
+				Description="Copy built executable to Bin directory"
+				CommandLine="copy &quot;$(TargetPath)&quot; ..\..\Bin\x86-nt"
 			/>
 		</Configuration>
 	</Configurations>

Modified: TeamTalk/Agents/TeamTalkBackend/backendstub/backendstub.vcproj
===================================================================
--- TeamTalk/Agents/TeamTalkBackend/backendstub/backendstub.vcproj	2007-08-14 19:42:02 UTC (rev 699)
+++ TeamTalk/Agents/TeamTalkBackend/backendstub/backendstub.vcproj	2007-08-15 20:04:33 UTC (rev 700)
@@ -108,6 +108,8 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				Description="Make the directories to later copy the build to."
+				CommandLine="IF NOT EXIST ..\..\bin\nul mkdir ..\..\bin; IF NOT EXIST ..\..\bin\x86-nt\nul mkdir ..\..\bin\x86-nt"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -176,7 +178,8 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="copy &quot;$(TargetPath)&quot; ..\..\..\Bin\x86-nt"
+				Description="Copy built executable to bin directory"
+				CommandLine="copy &quot;$(TargetPath)&quot; ..\..\Bin\x86-nt"
 			/>
 		</Configuration>
 	</Configurations>

Modified: TeamTalk/Agents/TeamTalkDM/TeamTalkDM.vcproj
===================================================================
--- TeamTalk/Agents/TeamTalkDM/TeamTalkDM.vcproj	2007-08-14 19:42:02 UTC (rev 699)
+++ TeamTalk/Agents/TeamTalkDM/TeamTalkDM.vcproj	2007-08-15 20:04:33 UTC (rev 700)
@@ -113,6 +113,8 @@
 			>
 			<Tool
 				Name="VCPreBuildEventTool"
+				Description="Make the directories to later copy the build to."
+				CommandLine="mkdir ..\..\bin; mkdir ..\..\bin\x86-nt"
 			/>
 			<Tool
 				Name="VCCustomBuildTool"
@@ -186,7 +188,8 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				CommandLine="copy &quot;$(TargetPath)&quot; ..\..\bin\x86-nt\$(TargetName).exe"
+				Description="Copy built executable to Bin directory"
+				CommandLine="copy &quot;$(TargetPath)&quot; ..\..\Bin\x86-nt"
 			/>
 		</Configuration>
 	</Configurations>

Modified: TeamTalk/TeamTalkBuild.bat
===================================================================
--- TeamTalk/TeamTalkBuild.bat	2007-08-14 19:42:02 UTC (rev 699)
+++ TeamTalk/TeamTalkBuild.bat	2007-08-15 20:04:33 UTC (rev 700)
@@ -2,7 +2,7 @@
 
 :Check to make sure the file is not running with a wrong working directory
 title TeamTalk Code Build - Win32
-IF NOT EXIST TeamTalk.bat goto Error
+IF NOT EXIST TeamTalkBuild.bat goto Error
 IF NOT EXIST Agents\Agents.sln goto Error
 IF NOT EXIST Tools\Tools.sln goto Error
 IF NOT EXIST TeamTalk-Tools\regTool\reg.exe goto Error

Modified: TeamTalk/TeamTalkRebuild.bat
===================================================================
--- TeamTalk/TeamTalkRebuild.bat	2007-08-14 19:42:02 UTC (rev 699)
+++ TeamTalk/TeamTalkRebuild.bat	2007-08-15 20:04:33 UTC (rev 700)
@@ -2,7 +2,7 @@
 
 :Check to make sure the file is not running with a wrong working directory
 title TeamTalk Code Rebuild - Win32
-IF NOT EXIST TeamTalk.bat goto Error
+IF NOT EXIST TeamTalkRebuild.bat goto Error
 IF NOT EXIST Agents\Agents.sln goto Error
 IF NOT EXIST Tools\Tools.sln goto Error
 IF NOT EXIST TeamTalk-Tools\regTool\reg.exe goto Error


More information about the TeamTalk-developers mailing list