mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 22:40:25 +00:00
bb71a3a0df
Expose the internal system information API to the CMake language. For example, it is useful to see how much memory the system has available to estimate an upper limit of tests that can run in parallel.
6 lines
127 B
CMake
6 lines
127 B
CMake
cmake_host_system_information(RESULT RESULT
|
|
QUERY NUMBER_OF_LOGICAL_CORES NUMBER_OF_PHYSICAL_CORES
|
|
)
|
|
|
|
message("[${RESULT}]")
|