diff options
| author | Michal Gorny <mgorny@gentoo.org> | 2017-01-02 18:19:35 +0000 |
|---|---|---|
| committer | Michal Gorny <mgorny@gentoo.org> | 2017-01-02 18:19:35 +0000 |
| commit | 89b6f16b3e8465884aa6f181553cc69270b8ebcd (patch) | |
| tree | fc4b1f3c5254f122665c81ebf7003d68f8b3fae8 /llvm/include | |
| parent | 7b83732a4025b5a3c652bfb585628104d995df8d (diff) | |
| download | bcm5719-llvm-89b6f16b3e8465884aa6f181553cc69270b8ebcd.tar.gz bcm5719-llvm-89b6f16b3e8465884aa6f181553cc69270b8ebcd.zip | |
[cmake] Add LLVM_ENABLE_DIA_SDK option, and expose it in LLVMConfig
Add an explicit LLVM_ENABLE_DIA_SDK option to control building support
for DIA SDK-based debugging. Control its value to match whether DIA SDK
support was found and expose it in LLVMConfig (alike LLVM_ENABLE_ZLIB).
Its value is needed for LLDB to determine whether to run tests requiring
DIA support. Currently it is obtained from llvm/Config/config.h;
however, this file is not available for standalone builds. Following
this change, LLDB will be modified to use the value from LLVMConfig.
Differential Revision: https://reviews.llvm.org/D26255
llvm-svn: 290818
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Config/config.h.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake index fe87829c2c2..ff41d75373c 100644 --- a/llvm/include/llvm/Config/config.h.cmake +++ b/llvm/include/llvm/Config/config.h.cmake @@ -39,7 +39,7 @@ #cmakedefine01 HAVE_DECL_STRERROR_S /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ -#cmakedefine01 HAVE_DIA_SDK +#cmakedefine01 LLVM_ENABLE_DIA_SDK /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. */ |

