BTW, to see any variable you can do something like this:
MESSAGE("MACHINE: " ${MACHINE})
James
James Bigler wrote:
Try looking in builddir/CMakeFiles/CMakeSystem.cmake
muzzle.sci says:
SET(CMAKE_SYSTEM "Linux-2.6.11.4-21.10-smp")
SET(CMAKE_SYSTEM_NAME "Linux")
SET(CMAKE_SYSTEM_VERSION "2.6.11.4-21.10-smp")
SET(CMAKE_SYSTEM_PROCESSOR "i686")
SET(CMAKE_SYSTEM_LOADED 1)
A mac from the VSC says:
SET(CMAKE_SYSTEM "Darwin-8.2.0")
SET(CMAKE_SYSTEM_NAME "Darwin")
SET(CMAKE_SYSTEM_VERSION "8.2.0")
SET(CMAKE_SYSTEM_PROCESSOR "powerpc")
SET(CMAKE_SYSTEM_LOADED 1)
James
Aaron Knoll wrote:
I noticed in cmake there are strings for various machine types. For example, I see:
IF (MACHINE MATCHES "ppc970")
Anyone know how I find the machine string corresponding to my architecture?
Thanks!
Aaron
Archive powered by MHonArc 2.6.16.