tmp = EvalToolTemplate ( "LinkerPDB" );
retVal -> AssignCat ( tmp );
outEnt[3] = new WOKBuilder_SharedLibrary(new WOKUtils_Path(tmp));
+
+#if _MSC_VER >= 1400
outEnt[4] = new WOKBuilder_ManifestLibrary(new WOKUtils_Path(EvalToolTemplate("DLLMAN")));
- SetProduction(new WOKBuilder_HSequenceOfEntity());
+#endif
- Produces()->Append(outEnt[0]);
- Produces()->Append(outEnt[1]);
- Produces()->Append(outEnt[2]);
+ SetProduction(new WOKBuilder_HSequenceOfEntity());
- Produces()->Append(outEnt[3]);
- Produces()->Append(outEnt[4]);
+ for ( int i = 0; i < 5; i++ )
+ {
+ if ( !outEnt[ i ].IsNull() )
+ Produces()->Append( outEnt[ i ] );
+ }
return retVal;
}
retVal->AssignCat(tmp);
outEnt[1] = new WOKBuilder_SharedLibrary(new WOKUtils_Path(tmp));
// }
+#if _MSC_VER >= 1400
outEnt[2] = new WOKBuilder_ManifestLibrary(new WOKUtils_Path(EvalToolTemplate("EXEMAN")));
+#endif
+
SetProduction(new WOKBuilder_HSequenceOfEntity);
- Produces()->Append(outEnt[0]);
-
- //if(fDebug)
- Produces()->Append(outEnt[1]);
- Produces()->Append(outEnt[2]);
+
+ for ( int i = 0; i < 3; i++ )
+ {
+ if ( !outEnt[ i ].IsNull() )
+ Produces()->Append( outEnt[ i ] );
+ }
return retVal;
}
+
+
+
+
+
+
+
+
+
+
+
+
// END JGA
Handle(MS_GenClass) agenclass = Handle(MS_GenClass)::DownCast(ameta->GetType(anaction->Entity()->Name()));
- Handle(MS_InstClass) instclass;
- Handle(TColStd_HSequenceOfHAsciiString) nestedinst = agenclass->GetNestedInsClassesName();
- for(i=1; i<=nestedinst->Length(); i++)
- {
- Handle(TCollection_HAsciiString) fullname = MS::BuildFullName(agenclass->Package()->Name(), nestedinst->Value(i));
+ if(!agenclass.IsNull()) {
+ Handle(MS_InstClass) instclass;
+ Handle(TColStd_HSequenceOfHAsciiString) nestedinst = agenclass->GetNestedInsClassesName();
+ for(i=1; i<=nestedinst->Length(); i++)
+ {
+ Handle(TCollection_HAsciiString) fullname = MS::BuildFullName(agenclass->Package()->Name(), nestedinst->Value(i));
- instclass = Handle(MS_InstClass)::DownCast(MSchema()->MetaSchema()->GetType(fullname));
+ instclass = Handle(MS_InstClass)::DownCast(MSchema()->MetaSchema()->GetType(fullname));
- if(! instclass.IsNull())
- AddAction(anit,instclass->GenClass(), WOKBuilder_GenType);
- }
+ if(! instclass.IsNull())
+ AddAction(anit,instclass->GenClass(), WOKBuilder_GenType);
+ }
+ }
}
break;
default: