Главная страница | назад





Article #15022: Cached precompiled Headers in makefiles

 Question and Answer Database

FAQ22C.txt   Cached precompiled Headers in makefiles 
Category   :Command Line Tools
Platform    :All
Product    :C++Builder  1.x

Question:
How do I turn on cached precompiled headers in my makefile? 

Answer:
You need two rules, as in the following example: 
----------------------------------------------

bcc.cfg:
  copy &&|
    -c -v 
    -Hc -H"windows.h" -H=project1.csm
| $.
    
.cpp.obj:
  bcc32 +bcc.cfg { $& }  

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99