[llvm-commits] CVS: llvm/win32/System/System.vcproj

Jeff Cohen jeffc at jolt-lang.org
Sat Dec 18 00:01:54 PST 2004



Changes in directory llvm/win32/System:

System.vcproj updated: 1.7 -> 1.8
---
Log message:

Improve dependency management for lib/system/win32/* files.  Instead of copying the
files from win32/* to platform/*, create one line files in platform that include the
corresponding file in win32.  This makes life much more enjoyable!

The cruel irony is that NTFS has hard links just like Unix, but there's no way to
get to them from the DOS prompt!

---
Diffs of the changes:  (+22 -2)

Index: llvm/win32/System/System.vcproj
diff -u llvm/win32/System/System.vcproj:1.7 llvm/win32/System/System.vcproj:1.8
--- llvm/win32/System/System.vcproj:1.7	Sat Dec 18 01:05:59 2004
+++ llvm/win32/System/System.vcproj	Sat Dec 18 02:01:43 2004
@@ -4,6 +4,7 @@
 	Version="7.10"
 	Name="System"
 	ProjectGUID="{0F8407F3-FA23-4CF1-83A9-DCBE0B361489}"
+	RootNamespace="System"
 	Keyword="Win32Proj">
 	<Platforms>
 		<Platform
@@ -42,7 +43,16 @@
 				Name="VCPostBuildEventTool"/>
 			<Tool
 				Name="VCPreBuildEventTool"
-				CommandLine="xcopy /I /Y ..\..\lib\System\Win32 ..\..\lib\System\platform"/>
+				CommandLine="if not exist ..\..\lib\System\platform\DynamicLibrary.cpp echo #include "../win32/DynamicLibrary.cpp"  >..\..\lib\System\platform\DynamicLibrary.cpp
+if not exist ..\..\lib\System\platform\MappedFile.cpp echo #include "../win32/MappedFile.cpp"  >..\..\lib\System\platform\MappedFile.cpp
+if not exist ..\..\lib\System\platform\Memory.cpp echo #include "../win32/Memory.cpp"  >..\..\lib\System\platform\Memory.cpp
+if not exist ..\..\lib\System\platform\Path.cpp echo #include "../win32/Path.cpp"  >..\..\lib\System\platform\Path.cpp
+if not exist ..\..\lib\System\platform\Process.cpp echo #include "../win32/Process.cpp"  >..\..\lib\System\platform\Process.cpp
+if not exist ..\..\lib\System\platform\Program.cpp echo #include "../win32/Program.cpp"  >..\..\lib\System\platform\Program.cpp
+if not exist ..\..\lib\System\platform\Signals.cpp echo #include "../win32/Signals.cpp"  >..\..\lib\System\platform\Signals.cpp
+if not exist ..\..\lib\System\platform\SysConfig.cpp echo #include "../win32/SysConfig.cpp"  >..\..\lib\System\platform\SysConfig.cpp
+if not exist ..\..\lib\System\platform\TimeValue.cpp echo #include "../win32/TimeValue.cpp"  >..\..\lib\System\platform\TimeValue.cpp
+"/>
 			<Tool
 				Name="VCPreLinkEventTool"/>
 			<Tool
@@ -84,7 +94,17 @@
 			<Tool
 				Name="VCPostBuildEventTool"/>
 			<Tool
-				Name="VCPreBuildEventTool"/>
+				Name="VCPreBuildEventTool"
+				CommandLine="if not exist ..\..\lib\System\platform\DynamicLibrary.cpp echo #include "../win32/DynamicLibrary.cpp"  >..\..\lib\System\platform\DynamicLibrary.cpp
+if not exist ..\..\lib\System\platform\MappedFile.cpp echo #include "../win32/MappedFile.cpp"  >..\..\lib\System\platform\MappedFile.cpp
+if not exist ..\..\lib\System\platform\Memory.cpp echo #include "../win32/Memory.cpp"  >..\..\lib\System\platform\Memory.cpp
+if not exist ..\..\lib\System\platform\Path.cpp echo #include "../win32/Path.cpp"  >..\..\lib\System\platform\Path.cpp
+if not exist ..\..\lib\System\platform\Process.cpp echo #include "../win32/Process.cpp"  >..\..\lib\System\platform\Process.cpp
+if not exist ..\..\lib\System\platform\Program.cpp echo #include "../win32/Program.cpp"  >..\..\lib\System\platform\Program.cpp
+if not exist ..\..\lib\System\platform\Signals.cpp echo #include "../win32/Signals.cpp"  >..\..\lib\System\platform\Signals.cpp
+if not exist ..\..\lib\System\platform\SysConfig.cpp echo #include "../win32/SysConfig.cpp"  >..\..\lib\System\platform\SysConfig.cpp
+if not exist ..\..\lib\System\platform\TimeValue.cpp echo #include "../win32/TimeValue.cpp"  >..\..\lib\System\platform\TimeValue.cpp
+"/>
 			<Tool
 				Name="VCPreLinkEventTool"/>
 			<Tool






More information about the llvm-commits mailing list