llvm.org GIT mirror llvm / 562a9cf
Revert r351324 "Build LLVM-C.dll by default on windows and enable in release package" This broke the build, ending up with too long command-lines when invoking gen-mscv-exports.py. > As it says in the subject, should have gone long enough now that this > should be safe. This will greatly simplify dealing with LLVM for people > that just want to use the C API on windows. This is a follow up from > D35077. > > Patch by Jakob Bornecrantz! > > Differential revision: https://reviews.llvm.org/D56774 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351329 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 1 year, 9 months ago
2 changed file(s) with 2 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
533533 endif()
534534 option(LLVM_LINK_LLVM_DYLIB "Link tools against the libllvm dynamic library" OFF)
535535 if(MSVC)
536 option(LLVM_BUILD_LLVM_C_DYLIB "Build LLVM-C.dll (Windows only)" ON)
536 option(LLVM_BUILD_LLVM_C_DYLIB "Build LLVM-C.dll (Windows only)" OFF)
537537 else()
538538 option(LLVM_BUILD_LLVM_C_DYLIB "Build libllvm-c re-export library (Darwin only)" OFF)
539539 endif()
5151
5252
5353 REM Setting CMAKE_CL_SHOWINCLUDES_PREFIX to work around PR27226.
54 set cmake_flags=^
55 -DCMAKE_BUILD_TYPE=Release ^
56 -DLLVM_ENABLE_ASSERTIONS=ON ^
57 -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON ^
58 -DLLVM_BUILD_LLVM_C_DYLIB=ON ^
59 -DCMAKE_INSTALL_UCRT_LIBRARIES=ON ^
60 -DCLANG_FORMAT_VS_VERSION=%clang_format_vs_version% ^
61 -DPACKAGE_VERSION=%package_version% ^
62 -DLLDB_RELOCATABLE_PYTHON=1 ^
63 -DLLDB_TEST_COMPILER=%cd%\build32_stage0\bin\clang.exe ^
64 -DCMAKE_CL_SHOWINCLUDES_PREFIX="Note: including file: "
54 set cmake_flags=-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DCMAKE_INSTALL_UCRT_LIBRARIES=ON -DCLANG_FORMAT_VS_VERSION=%clang_format_vs_version% -DPACKAGE_VERSION=%package_version% -DLLDB_RELOCATABLE_PYTHON=1 -DLLDB_TEST_COMPILER=%cd%\build32_stage0\bin\clang.exe -DCMAKE_CL_SHOWINCLUDES_PREFIX="Note: including file: "
6555
6656 REM TODO: Run all tests, including lld and compiler-rt.
6757