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:
4db98be
)
llvm/unittests/VMCore/CMakeLists.txt: Introduce LLVM_OPTIONAL_SOURCES here, too.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 21 Jun 2012 22:17:39 +0000
(22:17 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 21 Jun 2012 22:17:39 +0000
(22:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158941
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/VMCore/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/unittests/VMCore/CMakeLists.txt
b/unittests/VMCore/CMakeLists.txt
index 04eabf0b9eeb7526a45fbc224f208d77e628359c..c7392a93ea2bb35e79fb51520b3f556adae3cee4 100644
(file)
--- a/
unittests/VMCore/CMakeLists.txt
+++ b/
unittests/VMCore/CMakeLists.txt
@@
-22,6
+22,12
@@
if(MSVC AND MSVC_VERSION LESS 1600)
list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
endif()
+# HACK: Declare a couple of source files as optionally compiled to satisfy the
+# missing-file-checker in LLVM's weird CMake build.
+set(LLVM_OPTIONAL_SOURCES
+ ValueMapTest.cpp
+ )
+
add_llvm_unittest(VMCoreTests
${VMCoreSources}
)