llvm.org GIT mirror llvm / 0f7745f
Improve TableGen dependencies Move TableGen generated files out of the src tree Add descriptions to the custom build steps git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19223 91177308-0d34-0410-b5e6-96231b3b80d8 Jeff Cohen 14 years ago
3 changed file(s) with 85 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
7272 Name="Configure|Win32">
7373
7474 Name="VCCustomBuildTool"
75 Description="Generating $(SolutionDir)llvm\Config\config.h"
7576 CommandLine="..\tools\sed <$(InputPath) >$(ProjectDir)..\llvm\Config\config.h "s/#undef PACKAGE_NAME/#define PACKAGE_NAME \"LLVM (win32 vc7.1)\"/;s/#undef PACKAGE_VERSION/#define PACKAGE_VERSION 1.4/;s/#undef HAVE_WINDOWS_H/#define HAVE_WINDOWS_H 1/;s/#undef HAVE_LIMITS_H/#define HAVE_LIMITS_H 1/;s/#undef HAVE_SYS_STAT_H/#define HAVE_SYS_STAT_H 1/;s/#undef HAVE_STDLIB_H/#define HAVE_STDLIB_H 1/;s/#undef HAVE_STDIO_H/#define HAVE_STDIO_H 1/;s/#undef HAVE_STRING_H/#define HAVE_STRING_H 1/;s/#undef SHLIBEXT/#define SHLIBEXT \".lib\"/;s/#undef error_t/#define error_t int/;s/#undef HAVE_ERRNO_H/#define HAVE_ERRNO_H 1/;s/#undef LTDL_DLOPEN_DEPLIBS/#define LTDL_DLOPEN_DEPLIBS 1/;s/#undef LTDL_OBJDIR/#define LTDL_OBJDIR \"_libs\"/;s/#undef LTDL_SHLIBPATH_VAR/#define LTDL_SHLIBPATH_VAR \"PATH\"/;s/#undef LTDL_SHLIB_EXT/#define LTDL_SHLIB_EXT \".dll\"/;s/#undef LTDL_SYSSEARCHPATH/#define LTDL_SYSSEARCHPATH \"\"/;s/#undef LLVM_ON_WIN32/#define LLVM_ON_WIN32 1/;"
7677 "
7778 Outputs="$(ProjectDir)..\llvm\Config\config.h"/>
8384 Name="Configure|Win32">
8485
8586 Name="VCCustomBuildTool"
87 Description="Generating $(SolutionDir)llvm\Support\DataTypes.h"
8688 CommandLine="..\tools\sed <$(InputPath) >$(ProjectDir)..\llvm\Support\DataTypes.h "s/#undef HAVE_SYS_TYPES_H/#define HAVE_SYS_TYPES_H 1/;s/#undef HAVE_INTTYPES_H/#define HAVE_INTTYPES_H 1/;s/#undef HAVE_STDINT_H/#define HAVE_STD_INT_H 1/"
8789 "
8890 Outputs="$(ProjectDir)..\llvm\Support\DataTypes.h"/>
9496 Name="Configure|Win32">
9597
9698 Name="VCCustomBuildTool"
99 Description="Generating $(SolutionDir)llvm\ADT\hash_map"
97100 CommandLine="..\tools\sed <$(InputPath) >$(ProjectDir)..\llvm\ADT\hash_map "s/#undef HAVE_GLOBAL_HASH_MAP/#define HAVE_GLOBAL_HASH_MAP 1/;/using HASH_NAMESPACE\:\:hash;.*$/{D};/#include.*HashExtras.*$/{D};s/define HASH_NAMESPACE std/define HASH_NAMESPACE stdext/"
98101 "
99102 Outputs="$(ProjectDir)..\llvm\ADT\hash_map"/>
105108 Name="Configure|Win32">
106109
107110 Name="VCCustomBuildTool"
111 Description="Generating $(SolutionDir)llvm\ADT\hash_set"
108112 CommandLine="..\tools\sed <$(InputPath) >$(ProjectDir)..\llvm\ADT\hash_set "s/#undef HAVE_GLOBAL_HASH_SET/#define HAVE_GLOBAL_HASH_SET 1/;/using HASH_NAMESPACE\:\:hash;.*$/{D};/#include.*HashExtras.*$/{D};s/define HASH_NAMESPACE std/define HASH_NAMESPACE stdext/"
109113 "
110114 Outputs="$(ProjectDir)..\llvm\ADT\hash_set"/>
116120 Name="Configure|Win32">
117121
118122 Name="VCCustomBuildTool"
123 Description="Generating $(SolutionDir)llvm\ADT\iterator"
119124 CommandLine="..\tools\sed <$(InputPath) >$(ProjectDir)..\llvm\ADT\iterator "s/#undef HAVE_BI_ITERATOR/#define HAVE_BI_ITERATOR 0/;s/#undef HAVE_STD_ITERATOR/#define HAVE_STD_ITERATOR 1/;s/#undef HAVE_FWD_ITERATOR/#define HAVE_FWD_ITERATOR 0/"
120125 "
121126 Outputs="$(ProjectDir)..\llvm\ADT\iterator"/>
4545
4646 Name="VCMIDLTool"/>
4747
48 Name="VCPostBuildEventTool"
49 CommandLine="copy $(OutDir)\TableGen.exe ..\tools"/>
48 Name="VCPostBuildEventTool"/>
5049
5150 Name="VCPreBuildEventTool"/>
5251
9796
9897 Name="VCMIDLTool"/>
9998
100 Name="VCPostBuildEventTool"
101 CommandLine="copy $(OutDir)\TableGen.exe ..\tools"/>
99 Name="VCPostBuildEventTool"/>
102100
103101 Name="VCPreBuildEventTool"/>
104102
139137 Name="Debug|Win32">
140138
141139 Name="VCCustomBuildTool"
140 Description="Performing flex"
142141 CommandLine="..\tools\flex -t >$(InputDir)$(InputName).cpp $(InputPath)
143142 "
144143 Outputs="$(InputDir)$(InputName).cpp"/>
147146 Name="Release|Win32">
148147
149148 Name="VCCustomBuildTool"
149 Description="Performing flex"
150150 CommandLine="..\tools\flex -t >$(InputDir)$(InputName).cpp $(InputPath)
151151 "
152152 Outputs="$(InputDir)$(InputName).cpp"/>
158158 Name="Debug|Win32">
159159
160160 Name="VCCustomBuildTool"
161 Description="Performing bison"
161162 CommandLine="..\tools\bison -pFile -tdo$(InputDir)$(InputName).cpp $(InputPath)
162 copy $(InputDir)$(InputName).hpp $(InputDir)$(InputName).h
163 move $(InputDir)$(InputName).hpp $(InputDir)$(InputName).h
163164 "
164165 Outputs="$(InputDir)$(InputName).cpp;$(InputDir)$(InputName).h"/>
165166
167168 Name="Release|Win32">
168169
169170 Name="VCCustomBuildTool"
171 Description="Performing bison"
170172 CommandLine="..\tools\bison -pFile -tdo$(InputDir)$(InputName).cpp $(InputPath)
171 copy $(InputDir)$(InputName).hpp $(InputDir)$(InputName).h
173 move $(InputDir)$(InputName).hpp $(InputDir)$(InputName).h
172174 "
173175 Outputs="$(InputDir)$(InputName).cpp;$(InputDir)$(InputName).h"/>
174176
33 Version="7.10"
44 Name="x86"
55 ProjectGUID="{144EEBF6-8C9B-4473-B715-2C821666AF6C}"
6 RootNamespace="x86"
67 Keyword="Win32Proj">
78
89
1819
1920 Name="VCCLCompilerTool"
2021 Optimization="0"
21 AdditionalIncludeDirectories="..\..\tablegen_includes;..\..\include;.."
22 AdditionalIncludeDirectories=".;..\..\include;.."
2223 PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS"
2324 MinimalRebuild="TRUE"
2425 BasicRuntimeChecks="3"
4142
4243 Name="VCPostBuildEventTool"/>
4344
44 Name="VCPreBuildEventTool"
45 CommandLine="mkdir ..\..\tablegen_includes
46 ..\tools\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenRegisterNames.inc
47 ..\tools\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenRegisterInfo.h.inc
48 ..\tools\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenRegisterInfo.inc
49 ..\tools\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenInstrNames.inc
50 ..\tools\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenInstrInfo.inc
51 ..\tools\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenAsmWriter.inc
52 ..\tools\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenAsmWriter1.inc
53 "/>
45 Name="VCPreBuildEventTool"/>
5446
5547 Name="VCPreLinkEventTool"/>
5648
7264 CharacterSet="2">
7365
7466 Name="VCCLCompilerTool"
75 AdditionalIncludeDirectories="..\..\tablegen_includes;..\..\include;.."
67 AdditionalIncludeDirectories=".;..\..\include;.."
7668 PreprocessorDefinitions="WIN32;NDEBUG;_LIB;__STDC_LIMIT_MACROS"
7769 RuntimeLibrary="2"
7870 ForceConformanceInForLoopScope="TRUE"
9284
9385 Name="VCPostBuildEventTool"/>
9486
95 Name="VCPreBuildEventTool"
96 CommandLine="mkdir ..\..\tablegen_includes
97 ..\tools\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenRegisterNames.inc
98 ..\tools\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenRegisterInfo.h.inc
99 ..\tools\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenRegisterInfo.inc
100 ..\tools\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenInstrNames.inc
101 ..\tools\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenInstrInfo.inc
102 ..\tools\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenAsmWriter.inc
103 ..\tools\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 ..\..\lib\Target\X86\X86.td ..\..\lib\Target\X86\X86InstrInfo.td ..\..\lib\Target\X86\X86RegisterInfo.td ..\..\lib\Target\Target.td -o ..\..\tablegen_includes\X86GenAsmWriter1.inc
104 "/>
87 Name="VCPreBuildEventTool"/>
10588
10689 Name="VCPreLinkEventTool"/>
10790
124107 Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
125108 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
126109
110 RelativePath="..\..\lib\Target\X86\X86.td">
111
112 Name="Debug|Win32">
113
114 Name="VCCustomBuildTool"
115 Description="Performing TableGen Step"
116 CommandLine="..\TableGen\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 $(InputPath) -o X86GenRegisterNames.inc
117 ..\TableGen\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 $(InputPath) -o X86GenRegisterInfo.h.inc
118 ..\TableGen\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 $(InputPath) -o X86GenRegisterInfo.inc
119 ..\TableGen\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 $(InputPath) -o X86GenInstrNames.inc
120 ..\TableGen\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 $(InputPath) -o X86GenInstrInfo.inc
121 ..\TableGen\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter.inc
122 ..\TableGen\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter1.inc"
123 AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)..\Target.td;$(ProjectDir)..\TableGen\$(IntDir)\TableGen.exe"
124 Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc"/>
125
126
127 Name="Release|Win32">
128
129 Name="VCCustomBuildTool"
130 Description="Performing TableGen Step"
131 CommandLine="..\TableGen\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 $(InputPath) -o X86GenRegisterNames.inc
132 ..\TableGen\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 $(InputPath) -o X86GenRegisterInfo.h.inc
133 ..\TableGen\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 $(InputPath) -o X86GenRegisterInfo.inc
134 ..\TableGen\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 $(InputPath) -o X86GenInstrNames.inc
135 ..\TableGen\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 $(InputPath) -o X86GenInstrInfo.inc
136 ..\TableGen\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter.inc
137 ..\TableGen\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter1.inc"
138 AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)..\Target.td;$(ProjectDir)..\TableGen\$(IntDir)\TableGen.exe"
139 Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc"/>
140
141
142
127143 RelativePath="..\..\lib\Target\X86\X86AsmPrinter.cpp">
128144
129145
159175 Filter="h;hpp;hxx;hm;inl;inc;xsd"
160176 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
161177
178 RelativePath="..\..\lib\Target\Target.td">
179
180
162181 RelativePath="..\..\lib\Target\X86\X86.h">
163182
164183
168187 RelativePath="..\..\lib\Target\X86\X86InstrInfo.h">
169188
170189
190 RelativePath="..\..\lib\Target\X86\X86InstrInfo.td">
191
192
171193 RelativePath="..\..\lib\Target\X86\X86JITInfo.h">
172194
173195
174196 RelativePath="..\..\lib\Target\X86\X86RegisterInfo.h">
175197
176198
199 RelativePath="..\..\lib\Target\X86\X86RegisterInfo.td">
200
201
177202 RelativePath="..\..\lib\Target\X86\X86TargetMachine.h">
203
204
205
206 Name="Generated Tablegen Files"
207 Filter="">
208
209 RelativePath=".\X86GenAsmWriter.inc">
210
211
212 RelativePath=".\X86GenAsmWriter1.inc">
213
214
215 RelativePath=".\X86GenInstrInfo.inc">
216
217
218 RelativePath=".\X86GenInstrNames.inc">
219
220
221 RelativePath=".\X86GenRegisterInfo.h.inc">
222
223
224 RelativePath=".\X86GenRegisterInfo.inc">
225
226
227 RelativePath=".\X86GenRegisterNames.inc">
178228
179229
180230