[Cmake-commits] [cmake-commits] zach.mullen committed SystemInformation.cxx 1.49 1.50

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 9 11:10:13 EDT 2009


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv26055/kwsys

Modified Files:
	SystemInformation.cxx 
Log Message:
Added OS Platform (cpu architecture) detection support to windows systems


Index: SystemInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemInformation.cxx,v
retrieving revision 1.49
retrieving revision 1.50
diff -C 2 -d -r1.49 -r1.50
*** SystemInformation.cxx	8 Oct 2009 14:56:55 -0000	1.49
--- SystemInformation.cxx	9 Oct 2009 15:10:06 -0000	1.50
***************
*** 3359,3362 ****
--- 3359,3368 ----
      }
    this->Hostname = name;
+   
+   const char* arch = getenv("PROCESSOR_ARCHITECTURE");
+   if(arch)
+     {
+     this->OSPlatform = arch;
+     }
  
  #else



More information about the Cmake-commits mailing list