diff options
| author | Zachary Turner <zturner@google.com> | 2015-01-29 18:44:14 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-01-29 18:44:14 +0000 |
| commit | d5bb7e142bdbe7a992156a8ada6531442da1e7eb (patch) | |
| tree | ed5f24418cf57a31d9bc3916762b64dc13eb3bc9 /llvm | |
| parent | 0ff86c79b41bc10a46ba15ba6030385c0588da2c (diff) | |
| download | bcm5719-llvm-d5bb7e142bdbe7a992156a8ada6531442da1e7eb.tar.gz bcm5719-llvm-d5bb7e142bdbe7a992156a8ada6531442da1e7eb.zip | |
Disable compilation of llvm-pdbdump for versions of MSVC < 2013.
Certain aspects of llvm-pdbdump require language support only present in
MSVC 2013 and higher. Since this is strictly a utility, and since we hope
to drop support for MSVC 2012 soon, don't build this unless MSVC 2013 or
higher.
llvm-svn: 227479
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/tools/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt index 07b0bf90717..b496f5f27b7 100644 --- a/llvm/tools/CMakeLists.txt +++ b/llvm/tools/CMakeLists.txt @@ -61,7 +61,10 @@ add_llvm_tool_subdirectory(yaml2obj) add_llvm_tool_subdirectory(llvm-go) -if(MSVC) +if(MSVC AND NOT(MSVC_VERSION LESS 1800)) + # Certain aspects of llvm-pdbdump require language support only present in + # MSVC 2013 and higher. Since this is strictly a utility, and since we hope + # to drop support for MSVC 2012 soon, don't build this for MSVC < 2013. add_llvm_tool_subdirectory(llvm-pdbdump) endif() |

