zoukankan      html  css  js  c++  java
  • cmake_host_system_information

    https://cmake.org/cmake/help/latest/command/cmake_host_system_information.html

    Query host system specific information.

    cmake_host_system_information(RESULT<variable>QUERY<key>...)
    

    Queries system information of the host system on which cmake runs. One or more <key> can be provided to select the information to be queried. The list of queried values is stored in <variable>.

    <key> can be one of the following values:

    Key

    Description

    NUMBER_OF_LOGICAL_CORES

    Number of logical cores

    NUMBER_OF_PHYSICAL_CORES

    Number of physical cores

    HOSTNAME

    Hostname

    FQDN

    Fully qualified domain name

    TOTAL_VIRTUAL_MEMORY

    Total virtual memory in MiB 1

    AVAILABLE_VIRTUAL_MEMORY

    Available virtual memory in MiB 1

    TOTAL_PHYSICAL_MEMORY

    Total physical memory in MiB 1

    AVAILABLE_PHYSICAL_MEMORY

    Available physical memory in MiB 1

    IS_64BIT

    One if processor is 64Bit

    HAS_FPU

    One if processor has floating point unit

    HAS_MMX

    One if processor supports MMX instructions

    HAS_MMX_PLUS

    One if processor supports Ext. MMX instructions

    HAS_SSE

    One if processor supports SSE instructions

    HAS_SSE2

    One if processor supports SSE2 instructions

    HAS_SSE_FP

    One if processor supports SSE FP instructions

    HAS_SSE_MMX

    One if processor supports SSE MMX instructions

    HAS_AMD_3DNOW

    One if processor supports 3DNow instructions

    HAS_AMD_3DNOW_PLUS

    One if processor supports 3DNow+ instructions

    HAS_IA64

    One if IA64 processor emulating x86

    HAS_SERIAL_NUMBER

    One if processor has serial number

    PROCESSOR_SERIAL_NUMBER

    Processor serial number

    PROCESSOR_NAME

    Human readable processor name

    PROCESSOR_DESCRIPTION

    Human readable full processor description

    OS_NAME

    See CMAKE_HOST_SYSTEM_NAME

    OS_RELEASE

    The OS sub-type e.g. on Windows Professional

    OS_VERSION

    The OS build ID

    OS_PLATFORM

    See CMAKE_HOST_SYSTEM_PROCESSOR

    Footnotes

    1(1,2,3,4)

    One MiB (mebibyte) is equal to 1024x1024 bytes.

    cmake_host_system_information

  • 相关阅读:
    spring boot , spring security 安全的认证
    C# 插件编写
    linux diff命令详解 和 patch命令
    nginx location 匹配规则
    LVM扩容报错以及 xfs_growfs 和 resize2fs 区别
    shell ps命令 以及 ps命令 进程时间 格式转换
    shell ls 命令
    Ajax类库需要注意的问题
    JS中的基本运动逻辑思想总结
    Ajax读取文件时出现的缓存问题
  • 原文地址:https://www.cnblogs.com/Searchor/p/14138373.html
Copyright © 2011-2022 走看看