[PATCH] D139765: [NFC] [DirectX backend] copy dxil-dis as exe file on windows
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 20:50:49 PST 2022
beanz added inline comments.
================
Comment at: llvm/tools/dxil-dis/CMakeLists.txt:25
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_NAME}")
return()
----------------
You should be able to use CMAKE_EXECUTABLE_SUFFIX here instead: https://cmake.org/cmake/help/latest/variable/CMAKE_EXECUTABLE_SUFFIX.html
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139765/new/
https://reviews.llvm.org/D139765
More information about the llvm-commits
mailing list