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! llvm-svn: 19033
This commit is contained in:
parent
ca9b7e66d0
commit
45efd8df99
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue