projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e908486
)
[CMake] add_llvm_library: Specify explicit suffix .imp to import library to avoid...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 14 Aug 2013 03:34:49 +0000
(
03:34
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 14 Aug 2013 03:34:49 +0000
(
03:34
+0000)
FIXME: It seems MS version of profile_rt.dll doesn't contain any export symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188351
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/AddLLVM.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/AddLLVM.cmake
b/cmake/modules/AddLLVM.cmake
index 094969c8f4fb32c849168ee192878aa9fed202b1..24afeea9d187c8d6a24f2be8a4bdfcb020fbd901 100644
(file)
--- a/
cmake/modules/AddLLVM.cmake
+++ b/
cmake/modules/AddLLVM.cmake
@@
-12,6
+12,11
@@
macro(add_llvm_library name)
if( BUILD_SHARED_LIBS )
llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
+ if (MSVC)
+ set_target_properties(${name}
+ PROPERTIES
+ IMPORT_SUFFIX ".imp")
+ endif ()
endif()
# Ensure that the system libraries always comes last on the