[Cmake] more specific uname

Zennard Sun zen at ll . mit . edu
Thu, 19 Jun 2003 15:56:24 -0400


Hi,
    I was wondering if there was a way to get a more specific result to 
uname, such as the machine hardware name (the -m option for uname) since 
I need to define different flags for AMD and Pentium processors (I 
already know you can get the operating system with CMAKE_SYSTEM).  Or is 
there a way to run and store the result this command in a variable?  
Thanks a lot.

 

 Thanks,

Zennard Sun