HomePhabricator

[CMake] Make it possible to set the RPATH in add_lldb_exectable.

Description

[CMake] Make it possible to set the RPATH in add_lldb_exectable.

Make it possible to pass a build and install RPATH to
add_lldb_executable instead of having to call lldb_setup_rpaths after
the fact.

This fixes a real issue where setting an install RPATH with
lldb_setup_rpaths would only affect the symroot installation component.
Given that lldb_setup_rpaths sets a target property I would expect this
to be orthogonal to installation components. Regardless, it makes sense
to integrate this functionality in add_lldb_exectable.

Details

Committed
JDevlieghereOct 16 2019, 5:50 PM
Parents
rL375067: [gicombiner] Add the run-time rule disable option
Branches
Unknown
Tags
Unknown