Multi-config builds don’t have CMAKE_BUILD_TYPE set, instead, we should
use generator expressions to switch flags depending on the build type.
Do that for a couple of places that were relatively easy to convert.
Paths
| Differential D139624
[llvm][cmake] Use more generator expressions Needs ReviewPublic Authored by sebastian-ne on Dec 8 2022, 5:01 AM.
Details
Summary Multi-config builds don’t have CMAKE_BUILD_TYPE set, instead, we should Do that for a couple of places that were relatively easy to convert.
Diff Detail
Unit TestsFailed
Revision Contents
Diff 481249 llvm/cmake/modules/AddLLVM.cmake
llvm/cmake/modules/HandleLLVMOptions.cmake
|