1 set(LLVM_LINK_COMPONENTS
18 # MSVC9 and 8 cannot compile ValueMapTest.cpp due to their bug.
19 # See issue#331418 in Visual Studio.
20 if(MSVC AND MSVC_VERSION LESS 1600)
21 list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
24 # HACK: Declare a couple of source files as optionally compiled to satisfy the
25 # missing-file-checker in LLVM's weird CMake build.
26 set(LLVM_OPTIONAL_SOURCES
30 add_llvm_unittest(VMCoreTests