home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / customwz / template / newproj.inf < prev    next >
Text File  |  1998-03-05  |  7KB  |  202 lines

  1. $$// newproj.inf = template for list of template files
  2. $$//  format is 'sourceResName' \t 'destFileName'
  3. $$//    The source res name may be preceded by any combination of '=', '-',  '!', '?', ':', '#', and/or '*'
  4. $$//       '=' => the resource is binary
  5. $$//       '-' => the file should not be added to the project (all files are added to the project by default)
  6. $$//       '!' => the file should be marked exclude from build
  7. $$//       '?' => the file should be treated as a help file
  8. $$//       ':' => the file should be treated as a resource
  9. $$//       '#' => the file should be treated as a template (implies '!')
  10. $$//       '*' => bypass the custom AppWizard's resources when loading
  11. $$//    if name starts with / => create new subdir
  12.  
  13. $$// These are the custom AppWizard's source files
  14.  
  15. root.cpp    $$Root$$.cpp
  16. root.h    $$Root$$.h
  17. stdafx.cpp    StdAfx.cpp
  18. stdafx.h    StdAfx.h
  19. newaw.cpp    $$filebase$$Aw.cpp
  20. newaw.h    $$filebase$$Aw.h
  21. debugtr.cpp    Debug.cpp
  22. debugtr.h    Debug.h
  23. root.rc    $$root$$.rc
  24. resource.h    Resource.h
  25. root.clw    $$root$$.clw
  26. readme.txt    ReadMe.txt
  27.  
  28. $$// Icon for the wizard
  29. /res
  30. =:root.ico    res\$$root$$.ico
  31.  
  32. $$// Help-related files
  33. $$IF(HAS_NEW_STEPS)
  34. /hlp
  35.  
  36. root.hpj    hlp\$$root$$.hpj
  37. ?root.rtf    hlp\$$root$$.rtf
  38. $$ENDIF //HAS_NEW_STEPS
  39.  
  40. $$IF(HAS_NEW_STEPS || CUSTOMTYPE_SEQUENCE)
  41. chooser.cpp    Chooser.cpp
  42. chooser.h    Chooser.h
  43. $$BEGINLOOP(NUM_NEW_STEPS)
  44. cstmdlg.cpp    Cstm$$ITERATOR$$Dlg.cpp
  45. cstmdlg.h    Cstm$$ITERATOR$$Dlg.h
  46. $$ENDLOOP //NUM_NEW_STEPS
  47. $$ENDIF //HAS_NEW_STEPS || CUSTOMTYPE_SEQUENCE
  48.  
  49. $$// Now let's output the templates for the generated custom AppWizard
  50. /Template
  51.  
  52. $$IF(CUSTOMTYPE_SEQUENCE)
  53. $$// In this case, the templates are copies of the AppWizard templates:
  54.  
  55. *=#newproj.inf    template\NewProj.inf
  56. *=#confirm.inf    template\Confirm.inf
  57.  
  58. $$IF(APWZSEQ_EXE)
  59. $$// These files are used when creating an AppWizard application
  60.  
  61.  
  62. $$// LOCALIZED FILES
  63.  
  64. $$BEGINLOOP(NUM_CUSTOM_LANGS)
  65. $$SET_DEFAULT_LANG(CUSTOM_LANG_SUFFIX)
  66.  
  67. $$// Project source files
  68. *=#loc.rc    template\Loc_$$CUSTOM_LANG_SUFFIX$$.rc
  69. *=#dlgloc.rc    template\DlgLoc_$$CUSTOM_LANG_SUFFIX$$.rc
  70. *=#doc.ico    template\Doc_$$CUSTOM_LANG_SUFFIX$$.ico
  71.  
  72. $$// Help specific
  73. *=#root.cnt    template\root_$$CUSTOM_LANG_SUFFIX$$.cnt
  74. *=#root.hpj    template\Root_$$CUSTOM_LANG_SUFFIX$$.hpj
  75. *=#afxdlg.rtf    template\AfxDlg_$$CUSTOM_LANG_SUFFIX$$.rtf
  76. *=#afxcore.rtf    template\AfxCore_$$CUSTOM_LANG_SUFFIX$$.rtf
  77. *=#afxprint.rtf    template\AfxPrint_$$CUSTOM_LANG_SUFFIX$$.rtf
  78. *=#afxolecl.rtf    template\AfxOleCl_$$CUSTOM_LANG_SUFFIX$$.rtf
  79. *=#afxolesv.rtf    template\AfxOleSv_$$CUSTOM_LANG_SUFFIX$$.rtf
  80. *=#afxdb.rtf    template\AfxDb_$$CUSTOM_LANG_SUFFIX$$.rtf
  81. *=#scmenu.bmp    template\ScMenu_$$CUSTOM_LANG_SUFFIX$$.bmp
  82. *=#hlpsbar.bmp    template\HlpSbar_$$CUSTOM_LANG_SUFFIX$$.bmp
  83. *=#appexit.bmp    template\AppExit_$$CUSTOM_LANG_SUFFIX$$.bmp
  84.  
  85. $$ENDLOOP //NUM_CUSTOM_LANGS
  86.  
  87.  
  88. $$// NON-LOCALIZED FILES
  89.  
  90. $$// Project source files
  91. *=-#dlgroot.clw    template\DlgRoot.clw
  92. *=-#root.clw    template\Root.clw
  93. *=#readme.txt    template\ReadMe.txt
  94. *=#dlgroot.h    template\DlgRoot.h
  95. *=#dlgroot.cpp    template\DlgRoot.cpp
  96. *=#dialog.h    template\Dialog.h
  97. *=#dialog.cpp    template\Dialog.cpp
  98. *=#root.h    template\Root.h
  99. *=#root.cpp    template\Root.cpp
  100. *=#stdafx.h    template\StdAfx.h
  101. *=#stdafx.cpp    template\StdAfx.cpp
  102. *=#frame.h    template\Frame.h
  103. *=#frame.cpp    template\Frame.cpp
  104. *=#childfrm.h    template\ChildFrm.h
  105. *=#childfrm.cpp    template\ChildFrm.cpp
  106. *=#doc.h    template\Doc.h
  107. *=#doc.cpp    template\Doc.cpp
  108. *=#view.h    template\View.h
  109. *=#view.cpp    template\View.cpp
  110. *=#root.reg    template\Root.reg
  111. *=#root.odl    template\Root.odl
  112. *=#recset.h    template\RecSet.h
  113. *=#recset.cpp    template\RecSet.cpp
  114. *=#srvritem.h    template\SrvrItem.h
  115. *=#srvritem.cpp    template\SrvrItem.cpp
  116. *=#ipframe.h    template\IpFrame.h
  117. *=#ipframe.cpp    template\IpFrame.cpp
  118. *=#cntritem.h    template\CntrItem.h
  119. *=#cntritem.cpp    template\CntrItem.cpp
  120. *=#root.r    template\Root.r
  121. *=#all.rc    template\All.rc
  122. *=#dlgall.rc    template\DlgAll.rc
  123. *=#dlgres.h    template\DlgRes.h
  124. *=#resource.h    template\Resource.h
  125. *=#root.rc2    template\Root.rc2
  126. *=#root.ico    template\Root.ico
  127.  
  128. $$// Project bitmaps
  129. *=#tba__.bmp    template\tba__.bmp
  130. *=#tba_i.bmp    template\tba_i.bmp
  131. *=#tbah_.bmp    template\tbah_.bmp
  132. *=#tbahi.bmp    template\tbahi.bmp
  133. *=#tbd__.bmp    template\tbd__.bmp
  134. *=#tbdh_.bmp    template\tbdh_.bmp
  135. *=#tbr__.bmp    template\tbr__.bmp
  136. *=#tbr_i.bmp    template\tbr_i.bmp
  137. *=#tbrh_.bmp    template\tbrh_.bmp
  138. *=#tbrhi.bmp    template\tbrhi.bmp
  139.  
  140. $$// Help specific
  141. *=#makehelp.bat    template\makehelp.bat
  142. *=#dlgroot.cnt    template\dlgroot.cnt
  143. *=#filenew.bmp    template\FileNew.bmp
  144. *=#fileopen.bmp    template\FileOpen.bmp
  145. *=#fileprnt.bmp    template\FilePrnt.bmp
  146. *=#filesave.bmp    template\FileSave.bmp
  147. *=#editcopy.bmp    template\EditCopy.bmp
  148. *=#editcut.bmp    template\EditCut.bmp
  149. *=#editpast.bmp    template\EditPast.bmp
  150. *=#editundo.bmp    template\EditUndo.bmp
  151. *=#curarw4.bmp    template\CurArw4.bmp
  152. *=#curarw2.bmp    template\CurArw2.bmp
  153. *=#curhelp.bmp    template\CurHelp.bmp
  154. *=#scmax.bmp    template\ScMax.bmp
  155. *=#scmin.bmp    template\ScMin.bmp
  156. *=#bullet.bmp    template\Bullet.bmp
  157. *=#hlptbar.bmp    template\HlpTbar.bmp
  158. *=#recfirst.bmp    template\RecFirst.bmp
  159. *=#recprev.bmp    template\RecPrev.bmp
  160. *=#recnext.bmp    template\RecNext.bmp
  161. *=#reclast.bmp    template\RecLast.bmp
  162.  
  163. $$ELSE //!APWZSEQ_EXE
  164. $$// These files are used when creating an AppWizard DLL
  165.  
  166. *=-#dllroot.clw    template\DllRoot.clw
  167. *=#dllroot.cpp    template\DllRoot.cpp
  168. *=#dllroot.h    template\DllRoot.h
  169. *=#root.def    template\Root.def
  170. *=#dlgres.h    template\DlgRes.h
  171. *=#dlgall.rc    template\DlgAll.rc
  172. *=#dlgloc.rc    template\DlgLoc.rc
  173. *=#stdafx.cpp    template\StdAfx.cpp
  174. *=#stdafx.h    template\StdAfx.h
  175. *=#root.odl    template\Root.odl
  176.  
  177. $$ENDIF //APWZSEQ_EXE,_DLL
  178.  
  179. $$ELSE //!CUSTOMTYPE_SEQUENCE
  180.  
  181. $$IF(CUSTOMTYPE_ZAP)
  182. $$IF(PROJECT_FILES)
  183. $$// This macro will be expanded into the generated custom AppWizard's
  184. $$//  template subdirectories.  Its lines will be like "/template\dir", to create
  185. $$//  all the subdirectories necessary under template.
  186. $$TEMPLATE_SUBDIRS$$
  187.  
  188. $$// This macro will be expanded into the generated custom AppWizard's templates
  189. $$//  which will be zapped from the selected project
  190. $$PROJECT_FILES$$
  191. $$ENDIF //PROJECT_FILES
  192. $$ENDIF //CUSTOMTYPE_ZAP
  193.  
  194. $$// This will become the custom AppWizard's newproj.inf-- its contents are
  195. $$//  based on what files were zapped
  196. #newnwprj.inf    template\newproj.inf
  197.  
  198. $$// This will become the custom AppWizard's confirm.inf.
  199. #newcnfrm.inf    template\confirm.inf
  200.  
  201. $$ENDIF //CUSTOMTYPE_SEQUENCE
  202.