home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / bc45 / stylesht.pak / STYLESHT.TXT < prev   
Text File  |  1997-07-23  |  2KB  |  58 lines

  1. Instructions for the ide example STYLESHT.IDE.
  2. //
  3. // Instructions for StyleSht.ide
  4. // Copyright Borland International, 1993
  5. //
  6.  
  7. Note:
  8. [This example builds on another example in the 'SrcPool' directory that
  9. walks throught how build a multi-target project using abstract SourcePools
  10. and reference-copies. A general understanding of that example is assumed
  11. here. Although SourcePools and reference copying are used in this example,
  12. they are by no means necessary for using StyleSheets.]
  13.  
  14.  
  15. This example shows how applying StyleSheets can dramatically ease the 
  16. process of creating multiple targets based on the same source code with 
  17. completely different results: one target is designed for debugging and
  18. pre-production, while the other target, using the exact same pool of 
  19. source code creates a 'delivery' edition with no debugging symbols and 
  20. fully optimized for a different platform.
  21.  
  22. Anywhere along the way you can inspect the impact of setting options
  23. and assigning StyleSheets by using the Options Inspector. You can reach
  24. the Inspector by:
  25.  
  26. 1) Bring up the SpeedMenu for node in the Project View by hitting
  27.     the right-button while the cursor is over that node.
  28. 2) Select 'View options hierarchy'
  29.     
  30. To see the full effect of this example select:
  31.  
  32. Options|Environment|Project View|Style Sheet
  33.  
  34. This will allow you see the Style Sheets assigned throughout the tree
  35. while in the Project View.
  36.  
  37. As you can now see, the styles16 [.exe] will be created with full debugging
  38. on, whereas the styles32 [.exe] will be created with debugging off and
  39. optimized for speed. Please note that even though the "My Styles Source"
  40. SourcePool is reference copied, applying these StyleSheets (or any
  41. local overrides) at the reference nodes, has no effect on the other copies
  42. and allows maximum flexibility for creating the right targets.
  43.  
  44. This is accomplished with the following steps:
  45. 1) Bring up the SpeedMenu for the SourcePool under stylesht16 by hitting
  46.     the right-button while the cursor is over that node.
  47. 2) Select 'Edit node attributes'
  48. 3) Select from the drop-list called StyleSheets one of pre-existing 
  49.     StyleSheets to apply to the node.
  50. 4) Optionally you can create your own StyleSheet (either based on a
  51.     pre-existing one, or from scratch) by pushing the 'Styles...' 
  52.     button in this dialog or from Option|Style Sheets from the main
  53.     menu.
  54.  
  55.  
  56.  
  57.  
  58.