[Cmake] map insert

Ken Martin ken.martin at kitware.com
Fri May 11 08:07:53 EDT 2001


Seems like it should be fixed. The last SET should be used.

Ken

> -----Original Message-----
> From: cmake-admin at public.kitware.com
> [mailto:cmake-admin at public.kitware.com]On Behalf Of Cross, 
> Geoff (CRD)
> Sent: Thursday, May 10, 2001 3:18 PM
> To: cmake at public.kitware.com
> Subject: [Cmake] map insert
> 
> 
> 
> In cmMakefile->AddDefinition you have the following
> 
> m_Definitions.insert(DefinitionMap::value_type(name, value))
> 
> The result of this is that if I do a
> 
> SET( something "YES" )
> SET( something "NO" )
> 
> the result is something=YES and not something=NO as I would 
> normally expect: is this deliberate, or
> can I correct this?
> 
> Geoff.
> 
> _______________________________________________
> Cmake mailing list
> Cmake at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake
> 




More information about the CMake mailing list