[libcxx] r300206 - [libc++] Explicitly set output directory for DLL

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 13 09:27:38 PDT 2017


Author: smeenai
Date: Thu Apr 13 11:27:38 2017
New Revision: 300206

URL: http://llvm.org/viewvc/llvm-project?rev=300206&view=rev
Log:
[libc++] Explicitly set output directory for DLL

DLLs on Windows are treated as runtime targets. Explicitly set the
output directory for them, to be consistent with other platforms.

Modified:
    libcxx/trunk/CMakeLists.txt

Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=300206&r1=300205&r2=300206&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Thu Apr 13 11:27:38 2017
@@ -347,6 +347,7 @@ file(MAKE_DIRECTORY "${LIBCXX_BINARY_INC
 
 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LIBCXX_LIBRARY_DIR})
 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LIBCXX_LIBRARY_DIR})
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LIBCXX_LIBRARY_DIR})
 
 # Declare libc++ configuration variables.
 # They are intended for use as follows:




More information about the cfe-commits mailing list