[cmake-developers] module merge mania

Alexander Neundorf neundorf at kde.org
Tue Sep 19 16:15:55 EDT 2006


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 ?

And for macro_push_required_vars(), I managed to make it work also with 
multiple push and pops.
Under which name can I add it to cmake ?
PUSH_REQUIRED_VARS() in the file PushRequiredVars.cmake ?

In KDE we have a file MacroLibrary.cmake which just includes all other 
macro_xxx() files.

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