[cmake-developers] module merge mania

Brad King brad.king at kitware.com
Mon Sep 18 15:24:22 EDT 2006


Alexander Neundorf wrote:
> On Monday 18 September 2006 16:16, you wrote:
> ...
>> This should probably restore the original value of CMAKE_REQUIRED_INCLUDES.
> 
> How about this one ?
> http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/MacroPushRequiredVars.cmake?view=auto
> 
> This saves and restores the CMAKE_REQUIRES_XXX variables.
> Not sure the name is very good chosen, and AFAIK you prefer not ot have the 
> MACRO_* prefix.

That would be a good name if it actually supported more than one
push/pop.  Perhaps a SAVE/RESTORE name would be better.  On the other
hand with the MATH command and ${${}} syntax you may be able to get
push/pop to work for real.

-Brad



More information about the cmake-developers mailing list