llvm-6502/utils/llvm-lit/CMakeLists.txt
NAKAMURA Takumi e0c0a71531 utils/llvm-lit: Generate "llvm-lit.py" rather than "llvm-lit" on Win32 hosts to let llvm-lit.py --use-processes work.
llvm-lit needs suffix.py for multiprocess to find a main module.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196328 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-03 23:22:18 +00:00

10 lines
202 B
CMake

if (WIN32 AND NOT CYGWIN)
# llvm-lit needs suffix.py for multiprocess to find a main module.
set(suffix .py)
endif ()
configure_file(
llvm-lit.in
${LLVM_TOOLS_BINARY_DIR}/llvm-lit${suffix}
)