1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <PropertyGroup >
4+ <WindowTextExtractorProjectPath >..\WindowTextExtractor</WindowTextExtractorProjectPath >
5+ <WindowTextExtractorProjectName >WindowTextExtractor</WindowTextExtractorProjectName >
6+ <WindowTextExtractorHookProjectPath >..\WindowTextExtractorHook</WindowTextExtractorHookProjectPath >
7+ <WindowTextExtractorHookProjectName >WindowTextExtractorHook</WindowTextExtractorHookProjectName >
8+ <ApplicationPath >..\Application</ApplicationPath >
9+ </PropertyGroup >
10+
11+ <ItemGroup >
12+ <WindowTextExtractorHookSourceFileWin32 Include =" $(WindowTextExtractorHookProjectPath)\Release32\WindowTextExtractorHook.dll" />
13+ <WindowTextExtractorHookSourceFileWin64 Include =" $(WindowTextExtractorHookProjectPath)\Release64\WindowTextExtractorHook.dll" />
14+ <WindowTextExtractorHookDestFileWin32 Include =" $(ApplicationPath)\WindowTextExtractorHook.dll" />
15+ <WindowTextExtractorHookDestFileWin64 Include =" $(ApplicationPath)\WindowTextExtractorHook64.dll" />
16+ <WindowTextExtractorSourceFileWin32 Include =" $(WindowTextExtractorProjectPath)\bin\x86\Release\WindowTextExtractor.exe" />
17+ <WindowTextExtractorSourceFileWin64 Include =" $(WindowTextExtractorProjectPath)\bin\x64\Release\WindowTextExtractor.exe" />
18+ <WindowTextExtractorDestFileWin32 Include =" $(ApplicationPath)\WindowTextExtractor.exe" />
19+ <WindowTextExtractorDestFileWin64 Include =" $(WindowTextExtractorProjectPath)\WindowTextExtractor64.exe" />
20+ <EmptyTextForFile Include =" Empty File" />
21+ </ItemGroup >
22+
23+ <Target Name =" BuildSolution" >
24+ <CallTarget Targets =" Build_Release_x32_WindowTextExtractorHook" />
25+ <CallTarget Targets =" Copy_Release_x32_WindowTextExtractorHook" />
26+ <CallTarget Targets =" Build_Release_x64_WindowTextExtractorHook" />
27+ <CallTarget Targets =" Copy_Release_x64_WindowTextExtractorHook" />
28+ <CallTarget Targets =" WriteEmptyTextToEmbeddedResourceInWindowTextExtractor" />
29+ <CallTarget Targets =" Build_Release_x64_WindowTextExtractor" />
30+ <CallTarget Targets =" Copy_Release_x64_WindowTextExtractor" />
31+ <CallTarget Targets =" Build_Release_x32_WindowTextExtractor" />
32+ <CallTarget Targets =" Copy_Release_x32_WindowTextExtractor" />
33+ </Target >
34+
35+ <Target Name =" Build_Release_x32_WindowTextExtractorHook" >
36+ <Message Text =" Build $(WindowTextExtractorHookProjectName) Realese x32" />
37+ <MSBuild Projects =" $(WindowTextExtractorHookProjectPath)\$(WindowTextExtractorHookProjectName).vcxproj" Targets =" Clean;Rebuild" Properties =" Configuration=Release;Platform=Win32" />
38+ <Message Text =" Build Completed $(WindowTextExtractorHookProjectName) Realese x32" />
39+ </Target >
40+
41+ <Target Name =" Build_Release_x64_WindowTextExtractorHook" >
42+ <Message Text =" Build $(WindowTextExtractorHookProjectName) Realese x64" />
43+ <MSBuild Projects =" $(WindowTextExtractorHookProjectPath)\$(WindowTextExtractorHookProjectName).vcxproj" Targets =" Clean;Rebuild" Properties =" Configuration=Release;Platform=x64" />
44+ <Message Text =" Build Completed $(WindowTextExtractorHookProjectName) Realese x64" />
45+ </Target >
46+
47+ <Target Name =" Build_Release_x32_WindowTextExtractor" >
48+ <Message Text =" Build $(WindowTextExtractorProjectName) Realese x32" />
49+ <MSBuild Projects =" $(WindowTextExtractorProjectPath)\$(WindowTextExtractorProjectName).csproj" Targets =" Clean;Rebuild" Properties =" Configuration=Release;Platform=x86" />
50+ <Message Text =" Build Completed $(WindowTextExtractorProjectName) Realese x32" />
51+ </Target >
52+
53+ <Target Name =" Build_Release_x64_WindowTextExtractor" >
54+ <Message Text =" Build $(WindowTextExtractorProjectName) Realese x64" />
55+ <MSBuild Projects =" $(WindowTextExtractorProjectPath)\$(WindowTextExtractorProjectName).csproj" Targets =" Clean;Rebuild" Properties =" Configuration=Release;Platform=x64" />
56+ <Message Text =" Build Completed $(WindowTextExtractorProjectName) Realese x64" />
57+ </Target >
58+
59+ <Target Name =" Copy_Release_x32_WindowTextExtractorHook" >
60+ <Message Text =" Copy $(WindowTextExtractorHookProjectName) Realese x32" />
61+ <MakeDir Directories =" $(ApplicationPath)" />
62+ <Copy SourceFiles =" @(WindowTextExtractorHookSourceFileWin32)" DestinationFiles =" @(WindowTextExtractorHookDestFileWin32)" />
63+ <Message Text =" Copy Completed $(WindowTextExtractorHookProjectName) Realese x32" />
64+ </Target >
65+
66+ <Target Name =" Copy_Release_x64_WindowTextExtractorHook" >
67+ <Message Text =" Copy $(WindowTextExtractorHookProjectName) Realese x64" />
68+ <MakeDir Directories =" $(ApplicationPath)" />
69+ <Copy SourceFiles =" @(WindowTextExtractorHookSourceFileWin64)" DestinationFiles =" @(WindowTextExtractorHookDestFileWin64)" />
70+ <Message Text =" Copy Completed $(WindowTextExtractorHookProjectName) Realese x64" />
71+ </Target >
72+
73+ <Target Name =" Copy_Release_x32_WindowTextExtractor" >
74+ <Message Text =" Copy $(WindowTextExtractorProjectName) Realese x32" />
75+ <MakeDir Directories =" $(ApplicationPath)" />
76+ <Copy SourceFiles =" @(WindowTextExtractorSourceFileWin32)" DestinationFiles =" @(WindowTextExtractorDestFileWin32)" />
77+ <Message Text =" Copy Completed $(WindowTextExtractorProjectName) Realese x32" />
78+ </Target >
79+
80+ <Target Name =" Copy_Release_x64_WindowTextExtractor" >
81+ <Message Text =" Copy $(WindowTextExtractorProjectName) Realese x64" />
82+ <MakeDir Directories =" $(ApplicationPath)" />
83+ <Copy SourceFiles =" @(WindowTextExtractorSourceFileWin64)" DestinationFiles =" @(WindowTextExtractorDestFileWin64)" />
84+ <Message Text =" Copy Completed $(WindowTextExtractorProjectName) Realese x64" />
85+ </Target >
86+
87+ <Target Name =" WriteEmptyTextToEmbeddedResourceInWindowTextExtractor" >
88+ <Message Text =" Write Empty Embedded Resource $(WindowTextExtractorProjectName)" />
89+ <WriteLinesToFile File =" @(WindowTextExtractorDestFileWin64)" Lines =" @(EmptyTextForFile)" Overwrite =" true" />
90+ <Message Text =" Write Empty Embedded Resource Completed $(WindowTextExtractorProjectName)" />
91+ </Target >
92+ </Project >
0 commit comments