Line 25... |
Line 25... |
25 |
ConfigurationType="<%configuration_type("2")%>"
|
25 |
ConfigurationType="<%configuration_type("2")%>"
|
26 |
<%endif%>
|
26 |
<%endif%>
|
27 |
<%endif%>
|
27 |
<%endif%>
|
28 |
UseOfMFC="<%use_mfc("0")%>"
|
28 |
UseOfMFC="<%use_mfc("0")%>"
|
29 |
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
29 |
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
30 |
CharacterSet="<%charset("0")%>"
|
30 |
CharacterSet="<%charset("0")%>">
|
31 |
<%if(use_managed_extensions)%>
|
31 |
<%if(use_managed_extensions)%>
|
32 |
ManagedExtensions="TRUE"
|
32 |
ManagedExtensions="TRUE"
|
33 |
<%endif%>
|
33 |
<%endif%>
|
34 |
>
|
- |
|
35 |
<%if(!custom_only)%>
|
34 |
<%if(!custom_only)%>
|
36 |
<Tool
|
35 |
<Tool
|
37 |
Name="VCCLCompilerTool"
|
36 |
Name="VCCLCompilerTool"
|
38 |
<%if(compile_flags)%>
|
37 |
<%if(compile_flags)%>
|
39 |
AdditionalOptions="<%compile_flags%>"
|
38 |
AdditionalOptions="<%compile_flags%>"
|
Line 41... |
Line 40... |
41 |
<%if(optimize)%>
|
40 |
<%if(optimize)%>
|
42 |
Optimization="<%optimize%>"
|
41 |
Optimization="<%optimize%>"
|
43 |
<%else%>
|
42 |
<%else%>
|
44 |
Optimization="0"
|
43 |
Optimization="0"
|
45 |
<%endif%>
|
44 |
<%endif%>
|
46 |
AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(";")%><%endfor%>"
|
45 |
AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(",")%><%endfor%>"
|
47 |
PreprocessorDefinitions="<%if(unicode)%>UNICODE;_UNICODE;<%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%><%dynamicflag%>;<%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%><%staticflag%>;<%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%><%pch_define%>;<%endfor%><%endif%><%foreach(defines common_defines macros)%><%define%><%fornotlast(";")%><%endfor%>"
|
46 |
PreprocessorDefinitions="<%if(unicode)%>UNICODE;_UNICODE;<%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%><%dynamicflag%>;<%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%><%staticflag%>;<%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%><%pch_define%>;<%endfor%><%endif%><%foreach(defines common_defines macros)%><%define%><%fornotlast(";")%><%endfor%>"
|
48 |
MinimalRebuild="<%MinimalRebuild("FALSE")%>"
|
47 |
MinimalRebuild="<%MinimalRebuild("FALSE")%>"
|
49 |
ExceptionHandling="TRUE"
|
48 |
ExceptionHandling="TRUE"
|
50 |
<%if(!optimize)%>
|
49 |
<%if(!optimize)%>
|
51 |
BasicRuntimeChecks="<%BasicRuntimeChecks("3")%>"
|
50 |
BasicRuntimeChecks="<%BasicRuntimeChecks("3")%>"
|
Line 60... |
Line 59... |
60 |
<%if(forloopscope)%>
|
59 |
<%if(forloopscope)%>
|
61 |
ForceConformanceInForLoopScope="<%forloopscope%>"
|
60 |
ForceConformanceInForLoopScope="<%forloopscope%>"
|
62 |
<%endif%>
|
61 |
<%endif%>
|
63 |
RuntimeTypeInfo="<%rtti("TRUE")%>"
|
62 |
RuntimeTypeInfo="<%rtti("TRUE")%>"
|
64 |
<%if(pdbc)%>
|
63 |
<%if(pdbc)%>
|
65 |
ProgramDataBaseFileName="<%if(type_is_static)%><%libout%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%><%intermediate_dir%>\<%noextension(project_file)%>/<%endif%>"
|
64 |
ProgramDataBaseFileName="<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%><%intermediate_dir%>\<%noextension(project_file)%>/<%endif%>"
|
66 |
<%endif%>
|
65 |
<%endif%>
|
67 |
<%if(pch_header)%>
|
66 |
<%if(pch_header)%>
|
68 |
<%if(pch_source)%>
|
67 |
<%if(pch_source)%>
|
69 |
UsePrecompiledHeader="3"
|
68 |
UsePrecompiledHeader="3"
|
70 |
<%else%>
|
69 |
<%else%>
|
Line 82... |
Line 81... |
82 |
<%if(!custom_only)%>
|
81 |
<%if(!custom_only)%>
|
83 |
<Tool
|
82 |
<Tool
|
84 |
<%if(type_is_static)%>
|
83 |
<%if(type_is_static)%>
|
85 |
Name="VCLibrarianTool"
|
84 |
Name="VCLibrarianTool"
|
86 |
<%if(staticname)%>
|
85 |
<%if(staticname)%>
|
87 |
OutputFile="<%libout%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
|
86 |
OutputFile="<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
|
88 |
<%endif%>
|
87 |
<%endif%>
|
89 |
<%else%>
|
88 |
<%else%>
|
90 |
Name="VCLinkerTool"
|
89 |
Name="VCLinkerTool"
|
91 |
<%if(!source_files)%>
|
90 |
<%if(!source_files)%>
|
92 |
AdditionalOptions="/noentry<%if(link_options)%> <%link_options%><%endif%>"
|
91 |
AdditionalOptions="/noentry<%if(link_options)%> <%link_options%><%endif%>"
|
Line 94... |
Line 93... |
94 |
<%if(link_options)%>
|
93 |
<%if(link_options)%>
|
95 |
AdditionalOptions="<%link_options%>"
|
94 |
AdditionalOptions="<%link_options%>"
|
96 |
<%endif%>
|
95 |
<%endif%>
|
97 |
<%endif%>
|
96 |
<%endif%>
|
98 |
<%if(type_is_binary)%>
|
97 |
<%if(type_is_binary)%>
|
99 |
AdditionalDependencies="<%foreach(reverse(libs))%><%fornotfirst(" ")%><%lib%><%lib_modifier%><%lib_ext%><%endfor%><%foreach(reverse(lit_libs))%> <%lit_lib%>.lib<%endfor%><%foreach(reverse(pure_libs))%> <%pure_lib%><%endfor%>"
|
98 |
AdditionalDependencies="<%foreach(reverse(libs))%><%fornotfirst(" ")%><%libname_prefix%><%lib%><%lib_modifier%><%lib_ext%><%endfor%><%foreach(reverse(lit_libs))%> <%lit_lib%>.lib<%endfor%><%foreach(reverse(pure_libs))%> <%pure_lib%><%endfor%>"
|
100 |
<%endif%>
|
99 |
<%endif%>
|
101 |
<%if(exename || sharedname || staticname)%>
|
100 |
<%if(exename || sharedname || staticname)%>
|
102 |
OutputFile="$(OutDir)\<%if(type_is_dynamic)%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%else%><%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
|
101 |
OutputFile="$(OutDir)\<%if(type_is_dynamic)%><%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%else%><%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
|
103 |
<%endif%>
|
102 |
<%endif%>
|
104 |
<%if(win_version)%>
|
103 |
<%if(win_version)%>
|
105 |
Version="<%win_version%>"
|
104 |
Version="<%win_version%>"
|
106 |
<%endif%>
|
105 |
<%endif%>
|
107 |
LinkIncremental="<%LinkIncremental("1")%>"
|
106 |
LinkIncremental="<%LinkIncremental("2")%>"
|
108 |
SuppressStartupBanner="TRUE"
|
107 |
SuppressStartupBanner="TRUE"
|
109 |
AdditionalLibraryDirectories="<%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%>"
|
108 |
AdditionalLibraryDirectories="<%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%>"
|
110 |
<%if(ignore_default_library_names)%>
|
109 |
<%if(ignore_default_library_names)%>
|
111 |
IgnoreDefaultLibraryNames="<%foreach(ignore_default_library_names)%><%ignore_default_library_name%><%fornotlast(";")%><%endfor%>"
|
110 |
IgnoreDefaultLibraryNames="<%foreach(ignore_default_library_names)%><%ignore_default_library_name%><%fornotlast(";")%><%endfor%>"
|
112 |
<%endif%>
|
111 |
<%endif%>
|
113 |
GenerateDebugInformation="TRUE"
|
112 |
GenerateDebugInformation="TRUE"
|
114 |
<%if(pdbl)%>
|
113 |
<%if(pdbl)%>
|
115 |
<%if(sharedname)%>
|
114 |
<%if(sharedname)%>
|
116 |
ProgramDatabaseFile="$(OutDir)\<%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
|
115 |
ProgramDatabaseFile="$(OutDir)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
|
117 |
<%else%>
|
116 |
<%else%>
|
118 |
<%if(exename)%>
|
117 |
<%if(exename)%>
|
119 |
ProgramDatabaseFile="$(OutDir)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"
|
118 |
ProgramDatabaseFile="$(OutDir)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"
|
120 |
<%endif%>
|
119 |
<%endif%>
|
121 |
<%endif%>
|
120 |
<%endif%>
|
Line 133... |
Line 132... |
133 |
<%endif%>
|
132 |
<%endif%>
|
134 |
<%if(unicode && unicode_mfc_entry && exename && source_files)%>
|
133 |
<%if(unicode && unicode_mfc_entry && exename && source_files)%>
|
135 |
EntryPointSymbol="<%unicode_mfc_entry%>"
|
134 |
EntryPointSymbol="<%unicode_mfc_entry%>"
|
136 |
<%endif%>
|
135 |
<%endif%>
|
137 |
<%if(type_is_dynamic && sharedname)%>
|
136 |
<%if(type_is_dynamic && sharedname)%>
|
138 |
ImportLibrary="<%libout%>\<%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
|
137 |
ImportLibrary="<%libout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
|
139 |
<%endif%>
|
138 |
<%endif%>
|
140 |
<%endif%>
|
139 |
<%endif%>
|
141 |
TargetMachine="<%machine("1")%>"/>
|
140 |
TargetMachine="<%machine("1")%>"/>
|
142 |
<%endif%>
|
141 |
<%endif%>
|
143 |
<Tool
|
142 |
<Tool
|
- |
|
143 |
Name="VCMIDLTool"
|
- |
|
144 |
AdditionalOptions="<%foreach(midl_defines)%>/D <%midl_define%> <%endfor%><%midl_flags%>"
|
- |
|
145 |
AdditionalIncludeDirectories="<%foreach(midl_includes)%><%midl_include%><%fornotlast(",")%><%endfor%>"
|
- |
|
146 |
TypeLibraryName="$(InputName).tlb"
|
- |
|
147 |
HeaderFileName="$(InputName).h"
|
- |
|
148 |
InterfaceIdentifierFileName="$(InputName)_i.c"
|
- |
|
149 |
ProxyFileName="$(InputName)_p.c"
|
- |
|
150 |
/>
|
- |
|
151 |
<Tool
|
144 |
Name="VCPostBuildEventTool"
|
152 |
Name="VCPostBuildEventTool"
|
145 |
<%if(postbuild)%>
|
153 |
<%if(postbuild)%>
|
146 |
CommandLine="<%eval(postbuild)%>"
|
154 |
CommandLine="<%eval(postbuild)%>"
|
147 |
<%endif%>
|
155 |
<%endif%>
|
148 |
/>
|
156 |
/>
|
149 |
<Tool
|
157 |
<Tool
|
150 |
Name="VCPreBuildEventTool"
|
158 |
Name="VCPreBuildEventTool"/>
|
151 |
<%if(prebuild)%>
|
- |
|
152 |
CommandLine="<%eval(prebuild)%>"
|
- |
|
153 |
<%endif%>
|
- |
|
154 |
/>
|
- |
|
155 |
<%if(!custom_only)%>
|
159 |
<%if(!custom_only)%>
|
156 |
<Tool
|
160 |
<Tool
|
157 |
Name="VCPreLinkEventTool"/>
|
161 |
Name="VCPreLinkEventTool"/>
|
158 |
<Tool
|
162 |
<Tool
|
159 |
Name="VCResourceCompilerTool"
|
163 |
Name="VCResourceCompilerTool"
|
160 |
PreprocessorDefinitions="<%foreach(defines macros)%><%define%><%fornotlast(";")%><%endfor%>"
|
164 |
PreprocessorDefinitions="<%foreach(defines macros)%><%define%><%fornotlast(";")%><%endfor%>"
|
161 |
Culture="<%culture("1033")%>"
|
165 |
Culture="<%culture("1033")%>"
|
162 |
AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(";")%><%endfor%>"/>
|
166 |
AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(",")%><%endfor%>"/>
|
163 |
<Tool
|
167 |
<Tool
|
164 |
Name="VCWebServiceProxyGeneratorTool"/>
|
168 |
Name="VCWebServiceProxyGeneratorTool"/>
|
165 |
<Tool
|
169 |
<Tool
|
166 |
Name="VCWebDeploymentTool"/>
|
170 |
Name="VCWebDeploymentTool"/>
|
167 |
<%endif%>
|
171 |
<%endif%>
|
Line 302... |
Line 306... |
302 |
>
|
306 |
>
|
303 |
<%if(custom_type->input_file->output_files)%>
|
307 |
<%if(custom_type->input_file->output_files)%>
|
304 |
<Tool
|
308 |
<Tool
|
305 |
Name="VCCustomBuildTool"
|
309 |
Name="VCCustomBuildTool"
|
306 |
Description="Invoking <%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> on <%custom_type->input_file%>"
|
310 |
Description="Invoking <%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> on <%custom_type->input_file%>"
|
307 |
CommandLine="<%if(custom_type->libpath)%>PATH=%PATH%;<%custom_type->libpath%>
<%endif%><%if(flag_overrides(custom_type->input_file, gendir))%>if not exist <%flag_overrides(custom_type->input_file, gendir)%> mkdir <%flag_overrides(custom_type->input_file, gendir)%>
<%endif%><%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%> "<%custom_type->input_file%>"<%if(custom_type->output_option)%> <%custom_type->output_option%><%foreach(custom_type->input_file->output_files)%> "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%>"<%endfor%><%endif%><%if(flag_overrides(custom_type->input_file, postcommand))%><%foreach(custom_type->input_file)%>
<%flag_overrides(custom_type->input_file, postcommand)%><%endfor%><%else%><%if(custom_type->postcommand)%><%foreach(custom_type->input_file)%>
<%custom_type->postcommand%><%endfor%><%endif%><%endif%><%if(pch_header)%><%if(custom_type->pch_postrule)%><%foreach(custom_type->input_file->source_output_files)%>
echo #include "<%pch_header%>" > temporary.src
type "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>" >> temporary.src
move /y temporary.src "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>"<%endfor%><%endif%><%endif%>"
|
311 |
CommandLine="<%if(custom_type->libpath)%>PATH=%PATH%;<%custom_type->libpath%>
<%endif%><%if(flag_overrides(custom_type->input_file, gendir))%>if not exist <%flag_overrides(custom_type->input_file, gendir)%> mkdir <%flag_overrides(custom_type->input_file, gendir)%>
<%endif%><%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%><%if(custom_type->output_option)%> <%custom_type->output_option%><%foreach(custom_type->input_file->output_files)%> "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%>"<%endfor%><%endif%> "<%custom_type->input_file%>"<%if(flag_overrides(custom_type->input_file, postcommand))%><%foreach(custom_type->input_file)%>
<%flag_overrides(custom_type->input_file, postcommand)%><%endfor%><%else%><%if(custom_type->postcommand)%><%foreach(custom_type->input_file)%>
<%custom_type->postcommand%><%endfor%><%endif%><%endif%><%if(pch_header)%><%if(custom_type->pch_postrule)%><%foreach(custom_type->input_file->source_output_files)%>
echo #include "<%pch_header%>" > temporary.src
type "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>" >> temporary.src
move /y temporary.src "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>"<%endfor%><%endif%><%endif%>"
|
308 |
<%if(flag_overrides(custom_type->input_file, dependent))%>
|
312 |
<%if(flag_overrides(custom_type->input_file, dependent))%>
|
309 |
AdditionalDependencies="<%foreach(dep, flag_overrides(custom_type->input_file, dependent))%><%dep%><%if(!ends_with(dep, \.p.))%><%exe_ext%><%endif%><%fornotlast(";")%><%endfor%><%foreach(custom_type->input_file->dependencies)%>;<%custom_type->input_file->dependencie%><%endfor%>"
|
313 |
AdditionalDependencies="<%foreach(dep, flag_overrides(custom_type->input_file, dependent))%><%dep%><%if(!ends_with(dep, \.p.))%><%exe_ext%><%endif%><%fornotlast(";")%><%endfor%><%foreach(custom_type->input_file->dependencies)%>;<%custom_type->input_file->dependencie%><%endfor%>"
|
310 |
<%else%>
|
314 |
<%else%>
|
311 |
<%if(custom_type->dependent)%>
|
315 |
<%if(custom_type->dependent)%>
|
312 |
AdditionalDependencies="<%foreach(custom_type->dependent)%><%custom_type->dependent%><%if(!ends_with(custom_type->dependent, \.p.))%><%exe_ext%><%endif%><%fornotlast(";")%><%endfor%><%foreach(custom_type->input_file->dependencies)%>;<%custom_type->input_file->dependencie%><%endfor%>"
|
316 |
AdditionalDependencies="<%foreach(custom_type->dependent)%><%custom_type->dependent%><%if(!ends_with(custom_type->dependent, \.p.))%><%exe_ext%><%endif%><%fornotlast(";")%><%endfor%><%foreach(custom_type->input_file->dependencies)%>;<%custom_type->input_file->dependencie%><%endfor%>"
|