[llvm-commits] [llvm] r158941 - /llvm/trunk/unittests/VMCore/CMakeLists.txt

NAKAMURA Takumi geek4civic at gmail.com
Thu Jun 21 15:17:39 PDT 2012


Author: chapuni
Date: Thu Jun 21 17:17:39 2012
New Revision: 158941

URL: http://llvm.org/viewvc/llvm-project?rev=158941&view=rev
Log:
llvm/unittests/VMCore/CMakeLists.txt: Introduce LLVM_OPTIONAL_SOURCES here, too.

Modified:
    llvm/trunk/unittests/VMCore/CMakeLists.txt

Modified: llvm/trunk/unittests/VMCore/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/VMCore/CMakeLists.txt?rev=158941&r1=158940&r2=158941&view=diff
==============================================================================
--- llvm/trunk/unittests/VMCore/CMakeLists.txt (original)
+++ llvm/trunk/unittests/VMCore/CMakeLists.txt Thu Jun 21 17:17:39 2012
@@ -22,6 +22,12 @@
   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}
   )





More information about the llvm-commits mailing list