[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Header organization (was: How to set svn:ignore automatically in all subdirs?)

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: Wed, 20 Feb 2008 13:18:07 -0800

On Wednesday, February 20, 2008 10:08 AM +0100 Andreas Benzler
<info.benzler_at_gmx.de> wrote:

> But we use corba in our projects and we have to compile a lot of idl
> files which in return create c++ headers and other stuff. These should
> stay in the source tree. It would be very inconvenient to change all
> includes of these file to a different location.

I've started designing all my header paths to locate headers under
project/include/project. I then set the include path for clients to
project/include, and use "<project/header.h>" to refer to a given header.
That creates a separate header namespace so that I don't have to worry
about name collisions between different projects.

Can you do something similar with your CORBA-generated headers? Placing
them in a separate path, referenced by a directory include directive, also
lets you quickly clean them out without touching your regular sources.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-20 22:18:35 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.