projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90df1f4
)
[libc++] Explicitly set output directory for DLL
author
Shoaib Meenai
<smeenai@fb.com>
Thu, 13 Apr 2017 16:27:38 +0000
(16:27 +0000)
committer
Shoaib Meenai
<smeenai@fb.com>
Thu, 13 Apr 2017 16:27:38 +0000
(16:27 +0000)
DLLs on Windows are treated as runtime targets. Explicitly set the
output directory for them, to be consistent with other platforms.
llvm-svn: 300206
libcxx/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/libcxx/CMakeLists.txt
b/libcxx/CMakeLists.txt
index
53904a1
..
9c16dbe
100644
(file)
--- a/
libcxx/CMakeLists.txt
+++ b/
libcxx/CMakeLists.txt
@@
-347,6
+347,7
@@
file(MAKE_DIRECTORY "${LIBCXX_BINARY_INCLUDE_DIR}")
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: