[PATCH] D139765: [NFC] [DirectX backend] copy dxil-dis as exe file on windows
Xiang Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 20:56:35 PST 2022
python3kgae updated this revision to Diff 481825.
python3kgae added a comment.
Use CMAKE_EXECUTABLE_SUFFIX
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139765/new/
https://reviews.llvm.org/D139765
Files:
llvm/tools/dxil-dis/CMakeLists.txt
Index: llvm/tools/dxil-dis/CMakeLists.txt
===================================================================
--- llvm/tools/dxil-dis/CMakeLists.txt
+++ llvm/tools/dxil-dis/CMakeLists.txt
@@ -17,7 +17,7 @@
if (DXIL_DIS)
add_custom_target(dxil-dis
- COMMAND ${CMAKE_COMMAND} -E ${LLVM_LINK_OR_COPY} "${DXIL_DIS}" "${LLVM_RUNTIME_OUTPUT_INTDIR}/dxil-dis")
+ COMMAND ${CMAKE_COMMAND} -E ${LLVM_LINK_OR_COPY} "${DXIL_DIS}" "${LLVM_RUNTIME_OUTPUT_INTDIR}/dxil-dis${CMAKE_EXECUTABLE_SUFFIX}")
return()
endif ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139765.481825.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/b62f3290/attachment.bin>
More information about the llvm-commits
mailing list