[PATCH] CMake: build DLLs in the right directory and include them in the 'install' target (PR21719)

Hans Wennborg hans at chromium.org
Wed Dec 3 11:12:14 PST 2014


Hi timurrrr, samsonov,

When CMake builds a dynamic library on Windows, the .dll file's location is determined by the RUNTIME_OUTPUT_DIRECTORY, which we were previously not setting.

This means for example that clang_rt.asan_dynamic-i386.dll will get built and installed in the same directory as the corresponding .lib file, instead of being built in the bin/ directory and not installed at all.

http://reviews.llvm.org/D6508

Files:
  cmake/Modules/AddCompilerRT.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6508.16874.patch
Type: text/x-patch
Size: 1134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141203/d0c80281/attachment.bin>


More information about the llvm-commits mailing list