Build files have been written to: F:/Project-tests/clang_lept/zlib-1.2.11/build.clang Detecting C compile features - done CMake Warning (dev) at CMakeLists.txt:186 (add_library): ADD_LIBRARY called with SHARED option but the target platform does not support dynamic linking. Check for working C compiler: C:/Program Files/LLVM/bin/clang-cl.exe - works Check for working C compiler: C:/Program Files/LLVM/bin/clang-cl.exe DCMAKE_AR='c:\Program Files\LLVM\bin\llvm-ar.exe' ^ DCMAKE_C_COMPILER:PATH='C:\Program Files\LLVM\bin\clang-cl.exe' ^ Я сделал следующие шаги: mkdir build.clangĬall 'c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat' 圆4Ĭmake -E env LDFLAGS='-fuse-ld=lld' cmake -H.