We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f72ed commit fe09550Copy full SHA for fe09550
llvm/utils/gn/secondary/lldb/test/BUILD.gn
@@ -1,5 +1,6 @@
1
import("//llvm/triples.gni")
2
3
+import("//llvm/utils/gn/build/buildflags.gni")
4
#import("//llvm/utils/gn/build/libs/xar/enable.gni")
5
import("//llvm/utils/gn/build/libs/xml/enable.gni")
6
import("//llvm/utils/gn/build/libs/zlib/enable.gni")
@@ -93,6 +94,12 @@ write_lit_cfg("lit_api_site_cfg") {
93
94
"HOST_OS=$host_os", # XXX
95
]
96
97
+ if (is_debug) {
98
+ extra_values += [ "CMAKE_BUILD_TYPE=Debug" ]
99
+ } else {
100
+ extra_values += [ "CMAKE_BUILD_TYPE=Releas" ]
101
+ }
102
+
103
dir = get_path_info(output, "dir")
104
if (host_os == "win") {
105
# See comment for Windows solink in llvm/utils/gn/build/toolchain/BUILD.gn
0 commit comments