forked from OSchip/llvm-project
[gn build] (manually) port 6bc8163c79
This commit is contained in:
parent
07a7fd314a
commit
ceef00d33d
|
@ -6,7 +6,7 @@ template("driver_executable") {
|
||||||
tool_name = string_replace(target_name, "-", "_")
|
tool_name = string_replace(target_name, "-", "_")
|
||||||
|
|
||||||
write_cmake_config("${tool_name}-driver") {
|
write_cmake_config("${tool_name}-driver") {
|
||||||
input = "//llvm/cmake/driver-template.cpp.in"
|
input = "//llvm/cmake/modules/llvm-driver-template.cpp.in"
|
||||||
output = "$target_gen_dir/${tool_name}-driver.cpp"
|
output = "$target_gen_dir/${tool_name}-driver.cpp"
|
||||||
values = [ "TOOL_NAME=$tool_name" ]
|
values = [ "TOOL_NAME=$tool_name" ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue