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

Dizel <[EMAIL PROTECTED]> writes:

> In my project I use two separate directories: the main program source,
> and the library source, used by main program to build.
> The main program and library commit to CVS repository independently. 
> There is a some problem: Then I checkout  main program, i don't know
> the version of library it's build with. Is it possible to embedding in
> program source library version infomation?  Such as
> file: main.c
> /*********************************************************/
> /*  MAIN program                                         */
> /*  $Id: main.c,v 1.34 2004/07/26 11:05:05 iam Exp $     */   
> /*  $magic_keyword: file library.c,v1.22 2004/08/21 ...$ */
> /*********************************************************/
> Is any keyword like this $magic_keyword$ in CVS?

No. cvs is not really setup as a build environment.

You would do better to teach the Makefile in your main program how to
checkout the version of the library you need and to tag the library and
itself with compatible version tags of some kind.

        Good luck,
        -- Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBd3oO3x41pRYZE/gRAmKVAJ0XDtR7tiy9bQ3Rc6HE9NyhZbnOPgCgyQGE
515BPiUuIeliloF7qw1z/oU=
=s6xn
-----END PGP SIGNATURE-----


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to