diff options
| author | George Karpenkov <ekarpenkov@apple.com> | 2017-07-28 00:50:56 +0000 |
|---|---|---|
| committer | George Karpenkov <ekarpenkov@apple.com> | 2017-07-28 00:50:56 +0000 |
| commit | 50dd3fe903c4cb3dcaede77277a8abdd7bd02339 (patch) | |
| tree | 2e60c43a8533060000cd8853f428aaaaeb5ad6c5 /llvm/utils/lit | |
| parent | 94d2ac716091fd049a09d54d3904a19076c1ae29 (diff) | |
| download | bcm5719-llvm-50dd3fe903c4cb3dcaede77277a8abdd7bd02339.tar.gz bcm5719-llvm-50dd3fe903c4cb3dcaede77277a8abdd7bd02339.zip | |
[sanitizers] Sanitizer tests CMake clean up: try #2
This patch addresses two issues:
Most of the time, hacks with `if/else` in order to get support for
multi-configuration builds are superfluous.
The variable `CMAKE_CFG_INTDIR` was created precisely for this purpose: it
expands to `.` on all single-configuration builds, and to a configuration
name otherwise.
The `if/else` hacks for the library name generation should also not be
done, as CMake has `TARGET_FILE` generator expression precisely for this
purpose, as it expands to the exact filename of the resulting target.
Differential Revision: https://reviews.llvm.org/D35952
llvm-svn: 309341
Diffstat (limited to 'llvm/utils/lit')
0 files changed, 0 insertions, 0 deletions

