Clean up cmake build host detection
commit656e3b0153b1cff8157da348bde7fa56ea031286
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 3 Jul 2017 19:59:49 +0000 (3 21:59 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 14 Jul 2017 12:40:57 +0000 (14 14:40 +0200)
tree2b9ff0ee981c3350ba3f80db9c321f37694e9eea
parentcbcf99698e32dcd78205e0f2af9107784930eda0
Clean up cmake build host detection

This resolves some existing TODOs to de-duplicate code,
while making it more robust to re-execution and proper
use of the cache.

Change-Id: Ie9c0618778b6da2aace37baa182785604c8f4afe
CMakeLists.txt
cmake/gmxDetectCpu.cmake [new file with mode: 0644]
cmake/gmxDetectSimd.cmake
cmake/gmxManageSimd.cmake
cmake/gmxSetBuildInformation.cmake
src/gromacs/hardware/cpuinfo.cpp