home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 21.ddi / MULTITRG.PAK / MULTITRG.TXT < prev   
Encoding:
Text File  |  1993-12-02  |  1.5 KB  |  40 lines

  1.  
  2. This project is an example of multi-targeting in the new project manager.
  3.  
  4. The two whello.exe targets in the project are mostly similar with two major
  5. differences: The local options for the first target specifies output 
  6. directories to point to .\out16 and is tagged as Win3.x (16 bit) 
  7. applictation. The second target has local options specifying output
  8. directories to point to .\out32 and is tagged as a Win32 appliction.
  9.  
  10. The targets were created by 
  11. 1) selecting Project|New Target,
  12. 2) typing "whello" in the 'Target Name' field, 
  13. 3) selecting 'Standard' from the 'Target Type' list,
  14. 4) selecting 'Ok'
  15.  
  16. This leads the the standard 'Add Target' dialog where:
  17. 5) selecting "Windows 3.x (16 bit)" from the 'Platforms' list 
  18. 6) selecting 'Ok' 
  19.  
  20. Repeating steps 1-6 for the second target with the exception of step (5) 
  21. where "Win32" was selected from the 'Platforms' list.
  22.  
  23. To redirect output on the first target to the 'out16' directory
  24. 6) Right click on the first target
  25. 7) Select 'Local Options' with brings up the Multi-Page-Dialog
  26. 8) In the 'Directories' section entering 'out16' in the 'Intermediate'
  27. and 'Final output' fields.
  28. 9) Select 'Ok'
  29.  
  30. Repeating steps 6-9 for the second target replacing 'out16' with 'out32'
  31. completes the process.
  32.  
  33. You should note that the source nodes under both executables are copied 
  34. under each target. If you wanted to add a source module you would have to
  35. do so (in this project) in two places to keep you 16bit and 32bit targets
  36. in synch. To get relief see the example in the SrcPool directory.
  37.  
  38.  
  39.  
  40.