[XRay] [compiler-rt] reformat and clarify CMakeLists.txt [NFC]
authorMartin Pelikan <martin.pelikan@gmail.com>
Fri, 13 Apr 2018 08:33:46 +0000 (08:33 +0000)
committerMartin Pelikan <martin.pelikan@gmail.com>
Fri, 13 Apr 2018 08:33:46 +0000 (08:33 +0000)
commitf6b29caa5bffe1a3b3d324eb91e265e2ed76b649
tree133b1dbeda84bd17c550ace010060d8e048d502d
parent545c02a7109c5bc1f97a1a4b55d1db475169a417
[XRay] [compiler-rt] reformat and clarify CMakeLists.txt [NFC]

Summary:
- last change (+ the Apple support change) missed a lot of indentation
- shorten architecture SOURCES definitions as most fit 1 line/arch
- comment in English what's where, and where the different .a come from
  (using only the word "runtime" in the comment isn't useful, since the
  CMake primitive itself says "runtime" in its name)
- skip unsupported architectures quickly, to avoid extra indentation

Reviewers: dberris, eizan, kpw

Subscribers: mgorny, delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D45568

llvm-svn: 329998
compiler-rt/lib/xray/CMakeLists.txt