llvm.org GIT mirror llvm / 02e74da
gn build: Make setting llvm_enable_dia_sdk=true work If this is set, %INCLUDE% must contain ".../DIA SDK/include" and %LIB% must contain ".../DIA SKD/lib/amd64" (assuming you're doing a 64-bit build). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359195 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Weber 5 months ago
2 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 import("//llvm/lib/Target/targets.gni")
1 import("//llvm/lib/DebugInfo/PDB/enable_dia.gni")
12 import("//llvm/triples.gni")
23 import("//llvm/utils/gn/build/buildflags.gni")
34 import("//llvm/utils/gn/build/libs/edit/enable.gni")
7677 "HAVE_CRASHREPORTERCLIENT_H=",
7778 "HAVE_DECL_FE_ALL_EXCEPT=1",
7879 "HAVE_DECL_FE_INEXACT=1",
79 "LLVM_ENABLE_DIA_SDK=",
8080 "LLVM_ENABLE_CRASH_DUMPS=",
8181 "HAVE_ERRNO_H=1",
8282 "HAVE_FCNTL_H=1",
296296 values += [ "HAVE_TERMINFO=" ]
297297 }
298298
299 if (llvm_enable_dia_sdk) {
300 values += [ "LLVM_ENABLE_DIA_SDK=1" ]
301 } else {
302 values += [ "LLVM_ENABLE_DIA_SDK=" ]
303 }
304
299305 if (llvm_enable_zlib) {
300306 values += [ "LLVM_ENABLE_ZLIB=1" ]
301307 } else {
112112 "DIA/DIASourceFile.cpp",
113113 "DIA/DIATable.cpp",
114114 ]
115 # FIXME: Link against the right diaguids.lib too.
115 libs = [ "diaguids.lib" ]
116116 }
117117 }