[cmake-developers] module merge mania

Alexander Neundorf neundorf at kde.org
Tue Sep 19 15:56:20 EDT 2006


On Tuesday 19 September 2006 20:23, Brad King wrote:
> Alexander Neundorf wrote:
> > On Tuesday 19 September 2006 20:09, Brad King wrote:
> >> Alexander Neundorf wrote:
> >>> I could also build the macro so that you can give the language as
> >>> parameter: check_struct_member(CXX stat st_time STAT_HAS_ST_TIME)
> >>
> >> I like the parameter version since "struct" is valid in both C and C++.
> >>  Please make it give an error if the argument is not "C" or "CXX".
> >
> > Yes, but this would be the only macro with such a parameter...
> > I could also simply have two versions:
> >
> > check_c_struct_member()
> > check_c_struct_pointer_member()
> > check_cxx_struct_member()
> > check_cxx_struct_pointer_member()
>
> Okay, let's go with these four versions for simplicity and consistency.

Don't want to be annoying, but e.g. for check_include_files() there is only 
one version, a C version.
So maybe an extra C++ version isn't actually required ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net



More information about the cmake-developers mailing list