[cmake-developers] module merge mania

Alexander Neundorf neundorf at kde.org
Tue Sep 19 16:49:41 EDT 2006


On Tuesday 19 September 2006 22:25, you wrote:
> Alexander Neundorf wrote:
> > On Tuesday 19 September 2006 22:03, Brad King wrote:
> >> Alexander Neundorf wrote:
> >>> 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 ?
> >>
> >> That macro was written before it was realized that separate C and C++
> >> versions are needed.  Please create separate versions.  They run
> >> different native tools.
> >
> > Another alternative to CHECK_C_STRUCT_MEMBER() would be
> > C_CHECK_STRUCT_MEMBER()
> >
> > Which one do you prefer ?
>
> How about CHECK_STRUCT_MEMBER_C and CHECK_STRUCT_MEMBER_CXX?

Ok.

> > And for macro_push_required_vars(), I managed to make it work also with
> > multiple push and pops.
>
> Great.
>
> > Under which name can I add it to cmake ?
> > PUSH_REQUIRED_VARS() in the file PushRequiredVars.cmake ?
>
> This is used to save/restore variables providing values to other CHECK_*
> macros, right?  

They push and pop all the CMAKE_RQUIRED_* variables.

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