[CMake] Building system triplet
Mathieu Malaterre
mathieu.malaterre at gmail.com
Wed Aug 27 05:00:27 EDT 2008
http://www.cmake.org/Wiki/CMake_Useful_Variables#System_.26_Compiler_Information
I guess those should help:
CMAKE_SYSTEM_NAME
the short system name, e.g. "Linux", "FreeBSD" or "Windows"
CMAKE_SYSTEM_VERSION
only the version part of CMAKE_SYSTEM
CMAKE_SYSTEM_PROCESSOR
the processor name (e.g. "Intel(R) Pentium(R) M processor 2.00GHz")
2cts
On Wed, Aug 27, 2008 at 2:30 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:
>
> How can I determine the system triplet with CMake (something like
> i686-pc-mingw32 or i686-pc-linux-gnu)
>
> --
> Oscar
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
--
Mathieu
More information about the CMake
mailing list