HomePhabricator
Diffusion Comm cf721bda9450

[CMake] Resolve rust library include directory

Description

[CMake] Resolve rust library include directory

Summary:
When consuming rust_native_library from many
projects, the directory path needs to be resolved fully to work
when the build directory may be different; as is the case when
using 'add_subdirectory()' in CMake.

REALPATH was chosen over ABSPATH as REALPATH will still provide
an abssolute path but with symlinks resolved.

Depends on D6498

Test Plan:
Android build gate is successful
Tested fully in D6507

Reviewers: atul, varun, max, bartek

Reviewed By: max

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D6621

Details

Provenance
jonAuthored on Feb 3 2023, 11:49 AM
Reviewer
max
Differential Revision
D6621: [CMake] Resolve rust library include directory
Parents
rCOMM1905c532a28d: [native] Replace settings `ThreadSettings` icon on Android
Branches
Unknown
Tags
Unknown