bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VC6 build files: .cvsignore


From: Derek Robert Price
Subject: Re: VC6 build files: .cvsignore
Date: Thu, 08 Apr 2004 16:28:15 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Conrad T. Pino wrote:

>Hi Derek,
>
>If upgrading build files to VC6 occurs then
>.cvsignore will benefit with a .dep entry
>for every .dsp file.


No it won't.

>VC6 "Export Makefile..." emits a .dep .mak
>pair for every .dsp file.


I noticed this when I rebuilt and I'm fairly certain that the correct
thing to do is include the .dep files in the project and distribution
(check them in * and add them to EXTRA_DIST in Makefile.am).

This is because VC5 included file dependencies in the .mak files and VC6
simply dumps them into .dep files for some reason then has the .mak
files include the .dep files.  I'm not certain, but I think trying to
build without the .dep files would cause nmake to exit with an "include
not found error", or at least nmake would no longer know when to rebuild
object files based on which sources had been touched.

Incidentally, the other thing I noticed that VC6 didn't do corrcetly in
its exported makefiles is clean recursively.  I had to edit the files by
hand to change the default value for the RECURSE (I think that's the
name) env var to default to 1 instead of 0.  I was also editing the
default for CFG to be debug mode.  I'm not sure if either can be set at
the project level before export.

>I assume VC5 doesn't emit a .dep file.


Not as far as I know, but as I said, it includes dependencies in the
.mak files instead.

Derek

- --
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAdbXfLD1OTBfyMaQRArZtAJ9bqa5MgQetgIFfqKy/MUoAnUQMEQCgsHrR
IE6wMJDjBlk0bLXdFKO7dW4=
=ULhT
-----END PGP SIGNATURE-----






reply via email to

[Prev in Thread] Current Thread [Next in Thread]