This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by hans on Dec 3 2014, 11:12 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

hans updated this revision to Diff 16874.Dec 3 2014, 11:12 AM
hans retitled this revision from to CMake: build DLLs in the right directory and include them in the 'install' target (PR21719).
hans updated this object.
hans edited the test plan for this revision. (Show Details)
hans added reviewers: timurrrr, samsonov.
hans added a subscriber: Unknown Object (MLST).
samsonov accepted this revision.Dec 3 2014, 4:24 PM
samsonov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 3 2014, 4:24 PM
hans closed this revision.Dec 4 2014, 1:02 PM
hans updated this revision to Diff 16947.

Closed by commit rL223387 (authored by @hans).