diff options
author | dhinton <dhinton@a3e5c962-4219-0410-a828-e124f845ac39> | 2004-08-12 03:47:21 +0000 |
---|---|---|
committer | dhinton <dhinton@a3e5c962-4219-0410-a828-e124f845ac39> | 2004-08-12 03:47:21 +0000 |
commit | bbb914781a30ca3c398ab91c09007f7378f80f0f (patch) | |
tree | f8298e71a32cf9de527f54630b4234e69bb3d092 | |
parent | cc8d59c490fead3d458d4d0d1d6359a974e07a64 (diff) | |
download | MPC-bbb914781a30ca3c398ab91c09007f7378f80f0f.tar.gz |
ChangeLogTag:Thu Aug 12 03:33:45 UTC 2004 Don Hinton <don.hinton@vanderbilt.edu>
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | templates/vc6.mpd | 3 | ||||
-rw-r--r-- | templates/vc6dsp.mpd | 3 | ||||
-rw-r--r-- | templates/vc6dspdll.mpt | 1 | ||||
-rw-r--r-- | templates/vc6dspdllexe.mpt | 1 | ||||
-rw-r--r-- | templates/vc6dsplib.mpt | 1 | ||||
-rw-r--r-- | templates/vc6dsplibexe.mpt | 1 | ||||
-rw-r--r-- | templates/vccommon.mpt | 6 |
8 files changed, 30 insertions, 0 deletions
@@ -1,3 +1,17 @@ +Thu Aug 12 03:33:45 UTC 2004 Don Hinton <don.hinton@vanderbilt.edu> + + * templates/vc6dsp.mpd: + * templates/vc6dspdll.mpt: + * templates/vc6dspdllexe.mpt: + * templates/vc6dsplib.mpt: + * templates/vc6dsplibexe.mpt: + * templates/vccommon.mpt: New file. + Added support for midl. It uses midl_includes, midl_defines, + and midl_flags. To use, just add an idl file to your source + files section and define the midl_* variables in the vc6/7 + section. Thanks to Chad Elliott <elliott_c@ociweb.com> and + Krishnakumar B <kitty@dre.vanderbilt.edu> for help with this. + Wed Aug 11 19:15:10 2004 J.T. Conklin <jtc@acorntoolworks.com> * modules/AutomakeWorkspaceCreator.pm: diff --git a/templates/vc6.mpd b/templates/vc6.mpd index 66a8f4dc..3d6dcbe7 100644 --- a/templates/vc6.mpd +++ b/templates/vc6.mpd @@ -28,6 +28,7 @@ CFG=<%project_name%> - <%platform("Win32")%> <%default_configuration("Debug")%> # PROP Scc_ProjName "" # PROP Scc_LocalPath "" CPP=cl.exe +MTL=midl.exe RSC=rc.exe <%foreach(configurations)%> @@ -56,6 +57,8 @@ LINK32=link.exe -lib <%if(compile_flags_removed)%> # SUBTRACT CPP <%compile_flags_removed%> <%endif%> +<%if(midl_includes)%># ADD MTL <%foreach(midl_includes)%>/I "<%midl_include%>" <%endfor%><%endif%> +# ADD MTL <%foreach(defines)%>/D "<%define%>" <%endfor%><%foreach(midl_defines)%>/D "<%midl_define%>" <%endfor%><%midl_flags%> # ADD RSC /l 0x409<%foreach(defines macros)%> /d <%define%><%endfor%><%foreach(includes)%> /i "<%include%>"<%endfor%> BSC32=bscmake.exe # ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%> diff --git a/templates/vc6dsp.mpd b/templates/vc6dsp.mpd index 66a8f4dc..3d6dcbe7 100644 --- a/templates/vc6dsp.mpd +++ b/templates/vc6dsp.mpd @@ -28,6 +28,7 @@ CFG=<%project_name%> - <%platform("Win32")%> <%default_configuration("Debug")%> # PROP Scc_ProjName "" # PROP Scc_LocalPath "" CPP=cl.exe +MTL=midl.exe RSC=rc.exe <%foreach(configurations)%> @@ -56,6 +57,8 @@ LINK32=link.exe -lib <%if(compile_flags_removed)%> # SUBTRACT CPP <%compile_flags_removed%> <%endif%> +<%if(midl_includes)%># ADD MTL <%foreach(midl_includes)%>/I "<%midl_include%>" <%endfor%><%endif%> +# ADD MTL <%foreach(defines)%>/D "<%define%>" <%endfor%><%foreach(midl_defines)%>/D "<%midl_define%>" <%endfor%><%midl_flags%> # ADD RSC /l 0x409<%foreach(defines macros)%> /d <%define%><%endfor%><%foreach(includes)%> /i "<%include%>"<%endfor%> BSC32=bscmake.exe # ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%> diff --git a/templates/vc6dspdll.mpt b/templates/vc6dspdll.mpt index 373c8c53..58074bf6 100644 --- a/templates/vc6dspdll.mpt +++ b/templates/vc6dspdll.mpt @@ -2,6 +2,7 @@ // $Id$ conditional_include "common" +conditional_include "vccommon" configurations = Release Debug type_is_binary = 1 diff --git a/templates/vc6dspdllexe.mpt b/templates/vc6dspdllexe.mpt index c311d76b..d6e8fb56 100644 --- a/templates/vc6dspdllexe.mpt +++ b/templates/vc6dspdllexe.mpt @@ -2,6 +2,7 @@ // $Id$ conditional_include "common" +conditional_include "vccommon" type_description = "Console Application" type_code = 0x0103 diff --git a/templates/vc6dsplib.mpt b/templates/vc6dsplib.mpt index 9378fc01..b5b5d22f 100644 --- a/templates/vc6dsplib.mpt +++ b/templates/vc6dsplib.mpt @@ -2,6 +2,7 @@ // $Id$ conditional_include "common" +conditional_include "vccommon" type_description = "Static Library" type_code = 0x0104 diff --git a/templates/vc6dsplibexe.mpt b/templates/vc6dsplibexe.mpt index 1e14d865..a1422cd7 100644 --- a/templates/vc6dsplibexe.mpt +++ b/templates/vc6dsplibexe.mpt @@ -2,6 +2,7 @@ // $Id$ conditional_include "common" +conditional_include "vccommon" type_description = "Console Application" type_code = 0x0103 diff --git a/templates/vccommon.mpt b/templates/vccommon.mpt new file mode 100644 index 00000000..d7642365 --- /dev/null +++ b/templates/vccommon.mpt @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +midl_defines = +midl_flags = /nologo /mktyplib203 /win32 +midl_includes = |