[Halld-online] Hall D online include file strategy

Elliott Wolin wolin at jlab.org
Wed Apr 17 17:28:36 EDT 2013


Hi,

I'm almost done with the first version of the scons build system.  Dave 
L wondered whether we want to qualify library include file names with 
the package name.  I.e. if we have a package pkg with header file 
xyz.hxx, in source code do we want to:

     #include <pkg/xyz.hxx>

or

     #include <xyz.hxx>

The former unclutters the global include area but makes things more 
complicated in the package areas (but not much).  Currently I 
implemented the second strategy, but can implement the first one if a 
majority thinks it is better that way.

Note that CODA follows the second strategy, so we'll always have things 
like:

     #include <cMsg.hxx>
     #include <et.h>

etc.

Your thoughts...?

Thanks,

-- 

				Sincerely,
					Elliott


================================================================================


  Those raised in a morally relative or neutral environment will hold
		    no truths to be self-evident.
				

Elliott Wolin
Staff Physicist, Jefferson Lab
12000 Jefferson Ave
Suite 8 MS 12A1
Newport News, VA 23606
757-269-7365

================================================================================



More information about the Halld-online mailing list