summaryrefslogtreecommitdiff
path: root/templates/nmake.mpd
diff options
context:
space:
mode:
authorjohnsonb <johnsonb@a3e5c962-4219-0410-a828-e124f845ac39>2010-08-25 21:07:14 +0000
committerjohnsonb <johnsonb@a3e5c962-4219-0410-a828-e124f845ac39>2010-08-25 21:07:14 +0000
commit0b1d32863b03e6fdd4f9ff5523fc729a14044a95 (patch)
treef35c410eef13409cd2189ee4f1dac4d86c2ed564 /templates/nmake.mpd
parent064543b180cf1298ef531553095aead5ef5bfa2e (diff)
downloadMPC-0b1d32863b03e6fdd4f9ff5523fc729a14044a95.tar.gz
ChangeLogTag: Wed Aug 25 20:56:36 UTC 2010 Brian Johnson <johnsonb@ociweb.com>
Diffstat (limited to 'templates/nmake.mpd')
-rw-r--r--templates/nmake.mpd11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/nmake.mpd b/templates/nmake.mpd
index d5644350..6bfc3e68 100644
--- a/templates/nmake.mpd
+++ b/templates/nmake.mpd
@@ -269,6 +269,10 @@ SOURCE="<%source_file%>"
<%endfor%>
<%endif%>
+<%if(custom_types)%>
+<%foreach(platforms)%>
+<%foreach(configurations)%>
+!<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%platform%> <%configuration%>"
<%foreach(custom_types)%>
<%foreach(custom_type->input_files)%>
<%if(custom_type->input_file->output_files)%>
@@ -276,7 +280,7 @@ SOURCE="<%custom_type->input_file%>"
InputPath=<%custom_type->input_file%>
-<%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%>: $(SOURCE) <%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%><%if(flag_overrides(custom_type->input_file, dependent))%><%foreach(dep, flag_overrides(custom_type->input_file, dependent))%> "<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>"<%endfor%><%else%><%if(custom_type->dependent)%><%foreach(custom_type->dependent)%> "<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>"<%endfor%><%endif%><%endif%>
+<%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%>: $(SOURCE) <%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%><%if(flag_overrides(custom_type->input_file, dependent))%><%foreach(dep, flag_overrides(custom_type->input_file, dependent))%> "<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>"<%endfor%><%else%><%if(custom_type->dependent)%><%foreach(custom_type->dependent)%> "<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>"<%endfor%><%endif%><%endif%><%if(sharedname && type_is_dynamic)%><%if(flag_overrides(custom_type->input_file, dependent_libs))%><%foreach(dep_lib, flag_overrides(custom_type->input_file, dependent_libs))%> "<%dirname(dep_lib)%>\<%libname_prefix%><%basename(dep_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"<%endfor%><%else%><%if(custom_type->dependent_libs)%><%foreach(custom_type->dependent_libs)%> "<%dirname(custom_type->dependent_lib)%>\<%libname_prefix%><%basename(custom_type->dependent_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"<%endfor%><%endif%><%endif%><%endif%>
<<tempfile.bat
@echo off
<%if(custom_type->libpath)%>
@@ -311,6 +315,11 @@ InputPath=<%custom_type->input_file%>
<%endif%>
<%endfor%>
<%endfor%>
+<%endfor%>
+<%endfor%>
+!ENDIF
+
+<%endif%>
<%if(!type_is_static)%>
<%foreach(resource_files)%>
SOURCE="<%resource_file%>"