[llvm] r227479 - Disable compilation of llvm-pdbdump for versions of MSVC < 2013.
Zachary Turner
zturner at google.com
Thu Jan 29 10:44:14 PST 2015
Author: zturner
Date: Thu Jan 29 12:44:14 2015
New Revision: 227479
URL: http://llvm.org/viewvc/llvm-project?rev=227479&view=rev
Log:
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.
Modified:
llvm/trunk/tools/CMakeLists.txt
Modified: llvm/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/CMakeLists.txt?rev=227479&r1=227478&r2=227479&view=diff
==============================================================================
--- llvm/trunk/tools/CMakeLists.txt (original)
+++ llvm/trunk/tools/CMakeLists.txt Thu Jan 29 12:44:14 2015
@@ -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()
More information about the llvm-commits
mailing list