diff options
| author | George Karpenkov <ekarpenkov@apple.com> | 2017-07-27 18:40:38 +0000 |
|---|---|---|
| committer | George Karpenkov <ekarpenkov@apple.com> | 2017-07-27 18:40:38 +0000 |
| commit | 165a1edc851df0522100ff37b8eeed35d3876c54 (patch) | |
| tree | 2cf7c8e6dd297d1325233c2f72dd01adedc0e989 /clang/lib/Basic | |
| parent | 82c7d3768d6373b1b003841f26fe6faa4eb62d37 (diff) | |
| download | bcm5719-llvm-165a1edc851df0522100ff37b8eeed35d3876c54.tar.gz bcm5719-llvm-165a1edc851df0522100ff37b8eeed35d3876c54.zip | |
[sanitizers] Sanitizer tests CMake clean up
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: 309306
Diffstat (limited to 'clang/lib/Basic')
0 files changed, 0 insertions, 0 deletions

