I was not aware that the export of ANY of the additional information had ever 
been implemented.
${CMAKE_HOST_HAS_<any_feature>}  was just my suggestion for a possible naming 
convention.

Richard

On Mar 26, 2010, at 8:25 PM, Alexander Tarasov wrote:

> First of all the ${CMAKE_HOST_HAS_<any_feature>} does not seem to work.
> 
> Also I've looked through the patch submitted in the context of bug #7273. It 
> looks like it implements (fixes) the CPU features retrieval but it does not 
> export them to the cmake user.
> 
> As far as I understand the only way to export a cmake variable is to use 
> DefineProperty() method. I've looked through all properties exported and did 
> not find anything related to the extended CPU features. It looks like that 
> these properties have been removed or may be has not been implemented.
> 
> While this info is available to cmake I suppose this should be exported to an 
> end-user as well. So
> 1) could anyone clarify the issue?
> 2) is it needs to be added to the bugtracker?
> 
> Best regards,
> Alexander.
> 
>> This is directly related to my request Bug #7273 of two years ago to have 
>> all of this installation data "exported" as ${CMAKE_xxxxx} -- just like the 
>> OS type is exported in ${CMAKE_SYSTEM_NAME}
>> 
>> I would suggest ${CMAKE_HOST_HAS_SSE2} , etc.
>> 
>> Richard
>> 
>> On Mar 26, 2010, at 6:23 PM, Alexander Tarasov wrote:
>> 
>>> Hi All,
>>> 
>>> Is there a clean way to find out if host CPU supports MMX & SSE2 extensions?
>>> 
>>> As far as I know this stuff is analyzed by cmake (am I wrong?). However 
>>> I've did not find any way this info can be used in CMakeLists.txt.
>>> 
>>> Best regards,
>>> Alexander.
>>> _______________________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at 
>>> http://www.kitware.com/opensource/opensource.html
>>> 
>>> Please keep messages on-topic and check the CMake FAQ at: 
>>> http://www.cmake.org/Wiki/CMake_FAQ
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.cmake.org/mailman/listinfo/cmake
>>>    
>> 
>>  
> 

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to