Go to file
Alexey Samsonov 72f17afd48 [CMake] Fix add_sanitizer_rt_symbols on multi-config CMake generators.
Patch by Brad King.

When using a multi-config generator with CMake, such as for VS or Xcode,
the LOCATION target property value contains a placeholder such as
"$(Configuration)" that is meant for substitution by the native build
tool. The install(FILES) command does not understand this name and will
not install the symbols file correctly when using these generators.

Teach add_sanitizer_rt_symbols to read the more-specific target property
LOCATION_<CONFIG> that has a per-configuration value and no placeholder.
On single-configuration generators (Makefile, Ninja), CMAKE_BUILD_TYPE
contains the name of the one configuration to be built.  On multi-config
generators (VS, Xcode), CMAKE_CONFIGURATION_TYPES contains the list of
possible configurations.  In the latter case, loop over the configs and
add a configuration-specific install(FILES) rule for each one.

Place the code block inside an if(TRUE) block so it can be made
conditional in a following change without updating indentation.

llvm-svn: 202796
2014-03-04 08:28:43 +00:00
clang [CMake] Add the newly introduced compiler header. 2014-03-04 06:28:23 +00:00
clang-tools-extra Normalized the usage of override in the doc. 2014-03-03 13:36:30 +00:00
compiler-rt [CMake] Fix add_sanitizer_rt_symbols on multi-config CMake generators. 2014-03-04 08:28:43 +00:00
debuginfo-tests Relax testcase: Newer versions of LLDB don't necessarily print the "{". 2014-02-27 17:51:50 +00:00
libclc Fix build since r202052 2014-02-24 21:31:56 +00:00
libcxx [libc++] Const qualify __gnu_cxx::hash_map<>::const_iterator::pointer type. 2014-03-03 19:50:01 +00:00
libcxxabi Demangle Dc to decltype(auto) as per the Itanium C++ ABI spec. 2014-02-17 21:56:01 +00:00
lld [C++11] Add #include's for OwningPtr. 2014-03-03 07:20:05 +00:00
lldb Modified some test annotations so that tests on Linux that should be skipped don't show up as XFAIL. 2014-03-04 05:28:24 +00:00
llvm PBQP/Graph.h: Prune @return in setNodeCosts, possibly copypasto. [-Wdocumentation] 2014-03-04 07:27:08 +00:00
openmp Make affinity support conditional on KMP_AFFINITY_SUPPORTED 2014-03-02 04:12:06 +00:00
polly And some formatting fixes 2014-03-03 22:39:48 +00:00