[PATCH] D26255: [cmake] Rename HAVE_DIA_SDK to LLVM_ENABLE_DIA_SDK, and expose in LLVMConfig

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 22:44:41 PDT 2016


zturner added inline comments.


================
Comment at: include/llvm/Config/config.h.cmake:42
 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */
-#cmakedefine01 HAVE_DIA_SDK
+#define HAVE_DIA_SDK ${LLVM_ENABLE_DIA_SDK}
 
----------------
What's the difference between `#cmakedefine01` and the syntax you've used here?


https://reviews.llvm.org/D26255





More information about the llvm-commits mailing list