]> granicus.if.org Git - llvm/commit
Append an executable suffix to the toolchain tool paths on Windows platform.
authorGalina Kistanova <gkistanova@gmail.com>
Wed, 7 Aug 2019 03:19:40 +0000 (03:19 +0000)
committerGalina Kistanova <gkistanova@gmail.com>
Wed, 7 Aug 2019 03:19:40 +0000 (03:19 +0000)
commit942df4805e66f99dc02e6bd418028266cded7ca9
tree349dd209f1a5e23eae3d11ec70ee9b94b007577a
parent642aa224ddf9c8753e9bf99eb55e22f3bb867a1e
Append an executable suffix to the toolchain tool paths on Windows platform.

Append a default CMake suffix (CMAKE_EXECUTABLE_SUFFIX) for the build host to the toolchain tool path when adding a LLVM external project.
The tool binary files should contain .exe suffix to run them properly on Windows platform when building the projects.

Patch by Vlad Vereschaka.

Differential Revision: https://reviews.llvm.org/D65824

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368121 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMExternalProjectUtils.cmake