[cmake-developers] Generator expressions in target properties

Brad King brad.king at kitware.com
Tue Nov 20 12:50:19 EST 2012


On 11/20/2012 12:18 PM, Stephen Kelly wrote:
>> - The std::auto_ptr from <memory> is not portable to ancient compilers.
>>   Use cmsys::auto_ptr as one can see elsewhere in CMake.
> 
> Yes, I saw cmsys::auto_ptr, but std::auto_ptr is also used in CMake. (eg, 
> cmake::ReadListFile), so I guess the ancient compilers that used to not work 
> with std::auto_ptr are no longer on the dashboard. 

It's not plain std::auto_ptr as a local variable that doesn't work.
It's other uses for things like returning from functions.  We need
to use the cmsys version.

-Brad



More information about the cmake-developers mailing list