CMake has a bug in its ninja generator that prevents you from
installing targets that are built with framework support. Therefore, I want to
not rely on CMake's framework support.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Tested this by invoking
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLDB_BUILD_FRAMEWORK=1 && ninja lldb
The resulting framework appears to be the same as before.
Can't say I fully understand what's going on, but the changes seem reasonable to me.
If there is some public cmake bug describing the issue you ran into, it would be nice, for the sake of future archaeologists, to reference it somewhere (commit message and LLDBFramework.cmake?).
Let me know if I can clear anything up.
If there is some public cmake bug describing the issue you ran into, it would be nice, for the sake of future archaeologists, to reference it somewhere (commit message and LLDBFramework.cmake?).
I haven't checked to see if a bug has been filed for this specific case but I have a minimal repro. I'll file a bug against CMake and add a link to the report in the commit message and in LLDBFramework.cmake before I actually commit this.