🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1139

Re: Question: Forcing BC++ to compile a module

#1139
From: Michael Riepe
Date: Mon, 31 Aug 1992 00:19
23 lines
2060 bytes
In article <HANNU.NYMAN.92Aug28221910@vipunen.hut.fi>, Hannu.Nyman@hut.fi (Hannu Nyman) writes:
|> I would like to force Borland C++ IDE compiler to compile a module
|> every time I do a 'make' in IDE, regardless of the last modification
|> date of that module.
|> 
|> So, when I change any module and do a 'make' inside IDE, I would like
|> BC to compile not only the changed module(s), but also this one
|> special module.
|> 
|> Does anybody know a switch or compiler directive that does the job?

Maybe you can do it this way: Go to the Project window and open the Options dialog box for the file you want to be automatically rebuilt. Set the field for the target (.OBJ) file in this dialog to a file that does not exist (and will not be created during the make/build). As far as I know, the target file is just for the dependency check done by make and should not affect the location of the .OBJ file created.

-- 
 Michael Riepe                         <riepe@ifwm11.ifw.uni-hannover.de>

     IIII  FFFFFFFF  WWWW           WWWW             Univerit"at Hannover
    IIII  FFFF       WWWW   WWW   WWWW    Institut f"ur Fertigungstechnik
   IIII  FFFFFFF     WWWW WWWWW WWWW       und spanende Werkzeugmaschinen
  IIII  FFFF         WWWWWW WWWWWW                   Schlosswender Str. 5
 IIII  FFFF          WWWW   WWWW              W-3000 Hannover 1 (Germany)
--
 So long, and thanks for all the fish...
Technical Details
Message-ID: <1992Aug31.001941.19576@newsserver.rrzn.uni-hannover.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!solaris.rz.tu-clausthal.de!news!ifwm11.ifw.uni-hannover.de!riepe
References: <HANNU.NYMAN.92Aug28221910@vipunen.hut.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!solaris.rz.tu-clausthal.de!news!ifwm11.ifw.uni-hannover.de!riepe
From: riepe@ifwm11.ifw.uni-hannover.de (Michael Riepe)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer,comp.lang.c,comp.lang.c++,comp.sys.ibm.pc.programmer
Subject: Re: Question: Forcing BC++ to compile a module
Message-ID: <1992Aug31.001941.19576@newsserver.rrzn.uni-hannover.de>
Date: 31 Aug 92 00:19:41 GMT
References: <HANNU.NYMAN.92Aug28221910@vipunen.hut.fi>
Sender: news@newsserver.rrzn.uni-hannover.de (News Service)
Organization: University of Hannover, Germany - IFW
Lines: 23