CTest, when submitting a dashboard, apparently has the ability to introspect
quite a lot of information about the system it is running on, such as the
number of CPU cores and so on. Is it possible to get this information in a
cmake or ctest script? I see eg. CMAKE_HOST_SYSTEM_PROCESSOR in the docs,
but those variables are somewhat more generic about the platform and OS, not
the hardware.

My particular goal is to automatically provide the right -j option for
maximizing parallel build performance, but know how to find all the other
information CTest can get may well be useful in future as well.

Ceej
aka Chris Hillery
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to