diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-01-31 18:31:35 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-01-31 18:31:35 +0100 |
commit | 3ff9b3443313a1948cfdb4b447c3d4ab8d2337e9 (patch) | |
tree | 77ce7469ee4ff0c344a1222919bf2174762fc3bd /templates/nmake.mpd | |
parent | 93c9a83183f21403bc141f9807f2644751a0f2d0 (diff) | |
download | MPC-3ff9b3443313a1948cfdb4b447c3d4ab8d2337e9.tar.gz |
Make sure the install dir is also created when it doesn't exist yet and set to its own unique directory
Diffstat (limited to 'templates/nmake.mpd')
-rw-r--r-- | templates/nmake.mpd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/nmake.mpd b/templates/nmake.mpd index a8a9f40d..7615caad 100644 --- a/templates/nmake.mpd +++ b/templates/nmake.mpd @@ -131,7 +131,6 @@ REALCLEAN : CLEAN if not exist "<%intermediate_dir%>\$(NULL)" mkdir "<%intermediate_dir%>" if not exist "<%intermediate_dir%>\<%project_name%>\$(NULL)" mkdir "<%intermediate_dir%>\<%project_name%>" if not exist "$(INTDIR)\$(NULL)" mkdir "$(INTDIR)" - CPP=<%cc("cl.exe")%> CPP_COMMON=<%if(TreatWChar_tAsBuiltInType)%>/Zc:wchar_t <%endif%>/nologo <%if(add_compile)%><%add_compile%> <%endif%><%if(optimize)%><%optimize_flags("/O2")%><%else%><%debug_flags("/Ob0")%><%endif%> <%compile_flags%><%foreach(DisableSpecificWarnings)%> /wd<%DisableSpecificWarning%><%endfor%><%if(managed)%> /GX- /Gm- /clr<%endif%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines platform_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(macro_for_lib_modifier)%><%if(use_lib_modifier)%><%if(lib_modifier)%>/D MPC_LIB_MODIFIER=\"<%lib_modifier%>\"<%endif%><%endif%><%endif%> /c <%if(pch_header)%>CPP_PCH=<%foreach(pch_defines)%>/D <%pch_define%> <%endfor%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"$(INTDIR)\<%transdir(pch_header)%><%basenoextension(pch_header)%>.pch"<%endif%> @@ -190,12 +189,13 @@ __postbuild__: CLEAN : -@del /f/s/q "$(INTDIR)" -<%if(exeout)%> -"$(INSTALLDIR)" : +<%if(exename)%> + +"$(INSTALLDIR)" :: if not exist "$(INSTALLDIR)\$(NULL)" mkdir "$(INSTALLDIR)" <%endif%> -"$(OUTDIR)" : +"$(OUTDIR)" :: if not exist "$(OUTDIR)\$(NULL)" mkdir "$(OUTDIR)" .c{$(INTDIR)}.obj:: |