Przeglądaj źródła

fix midl command

David Rose 16 lat temu
rodzic
commit
ff91b31732
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      dtool/pptempl/Template.gmsvc.pp

+ 2 - 0
dtool/pptempl/Template.gmsvc.pp

@@ -577,6 +577,7 @@ $[idl_to_gen] : $[GENERATED_IDL_DEPENDENCIES]
 $[TAB] $[IDL_GENERATOR_RULE]
 $[TAB] $[IDL_GENERATOR_RULE]
 
 
 $[ODIR]/$[IDL_BASENAME].h : $[idl_to_gen]
 $[ODIR]/$[IDL_BASENAME].h : $[idl_to_gen]
+#define idl $[idl_to_gen]
 $[TAB] $[MIDL_COMMAND]
 $[TAB] $[MIDL_COMMAND]
 
 
 // this is a complete hack.  I dont know how add a generated .h to the dependency list of $[IDL_BASENAME].cpp.
 // this is a complete hack.  I dont know how add a generated .h to the dependency list of $[IDL_BASENAME].cpp.
@@ -588,6 +589,7 @@ $[TAB]  // empty, dependency-only 'rule'
 #end file
 #end file
 
 
 $[ODIR]/$[IDL_BASENAME].tlb : $[idl_to_gen]
 $[ODIR]/$[IDL_BASENAME].tlb : $[idl_to_gen]
+#define idl $[idl_to_gen]
 $[TAB] $[MIDL_COMMAND]
 $[TAB] $[MIDL_COMMAND]
 #endif
 #endif