Einzelnen Beitrag anzeigen

mjustin

Registriert seit: 14. Apr 2008
3.006 Beiträge
 
Delphi 2009 Professional
 
#6

Re: Über Kommandozeile die Abhängigkeiten von Units auslesen

  Alt 19. Jun 2009, 08:29
Zitat von hs-y:
Das mit dem --doc Schalter klingt nun schon wieder ziemlich kompiliziert für meinen Use-Case.
Na, das ist keine schwierig zu verarbeitende Ausgabedatei, dafür muss man noch nicht einmal einen XML Parser bemühen:

Delphi-Quellcode:
<?xml version="1.0" encoding="utf-8"?>
<namespace name="GUIDemo">
  <contains name="Grids" />
  <contains name="MaskUtils" />
  <contains name="Mask" />
  <contains name="ValEdit" />
  <contains name="BTPrimitiveMap" />
  <contains name="BTThreadSafe" />
  <contains name="BTConsumerID" />
  <contains name="BTOMQInterfaces" />
  <contains name="IndyFunc" />
  <contains name="BTURI" />
  <contains name="BTJMSConnectionFactory" />
  <contains name="DateUtils" />
  <contains name="BTSSLOptions" />
  <contains name="BTTypes" />
  <contains name="ShadowWnd" />
  <contains name="ComConst" />
  <contains name="oleacc" />
  <contains name="ABAccessibility" />
  <contains name="MMSystem" />
  <contains name="ActnCtrls" />
  <contains name="Imm" />
  <contains name="RichEdit" />
  <contains name="ToolWin" />
  <contains name="WideStrUtils" />
  <contains name="Dlgs" />
  <contains name="StdCtrls" />
  <contains name="ListActns" />
  <contains name="ZLib" />
  <contains name="Contnrs" />
  <contains name="ImgList" />
  <contains name="WinSpool" />
  <contains name="Consts" />
  <contains name="ComStrs" />
  <contains name="ShellAPI" />
  <contains name="RegStr" />
  <contains name="WinInet" />
  <contains name="UrlMon" />
  <contains name="ShlObj" />
  <contains name="CommDlg" />
  <contains name="StdActns" />
  <contains name="CommCtrl" />
  <contains name="ActnColorMaps" />
  <contains name="synacode" />
  <contains name="Messages" />
  <contains name="ActiveX" />
  <contains name="ImageHlp" />
  <contains name="StrUtils" />
  <contains name="Math" />
  <contains name="Character" />
  <contains name="RTLConsts" />
  <contains name="SysConst" />
  <contains name="Types" />
  <contains name="synafpc" />
  <contains name="synaip" />
  <contains name="blcksock" />
  <contains name="synautil" />
  <contains name="synsock" />
  <contains name="ActnMan" />
  <contains name="ActnMenus" />
  <contains name="ExtActns" />
  <contains name="Mapi" />
  <contains name="ExtDlgs" />
  <contains name="Buttons" />
  <contains name="ComObj" />
  <contains name="Clipbrd" />
  <contains name="Dialogs" />
  <contains name="ComCtrls" />
  <contains name="ExtCtrls" />
  <contains name="GraphUtil" />
  <contains name="Printers" />
  <contains name="FlatSB" />
  <contains name="HelpIntfs" />
  <contains name="Menus" />
  <contains name="Themes" />
  <contains name="Controls" />
  <contains name="DwmApi" />
  <contains name="ActnList" />
  <contains name="MultiMon" />
  <contains name="UxTheme" />
  <contains name="SyncObjs" />
  <contains name="Graphics" />
  <contains name="Registry" />
  <contains name="IniFiles" />
  <contains name="Classes" />
  <contains name="TypInfo" />
  <contains name="VarUtils" />
  <contains name="Windows" />
  <contains name="Variants" />
  ...
</namespace>
Michael Justin
habarisoft.com
  Mit Zitat antworten Zitat