This is an archive of the discontinued LLVM Phabricator instance.

Add new LLVM_EXTERNAL_PROJECTS option to cmake
ClosedPublic

Authored by tberghammer on May 31 2016, 2:35 PM.

Details

Summary

Add new LLVM_EXTERNAL_PROJECTS option to cmake

The new option makes it possible to build external projects as part of
the llvm build without copying (or symlinking) then into llvm/tool with
specifying a few additional cmake variables.

Example usage (2 additional project called foo and bar):
-DLLVM_EXTERNAL_PROJECTS="Foo;Bar"
-DLLVM_EXTERNAL_FOO_SOURCE_DIR=/src/foo
-DLLVM_EXTERNAL_BAR_SOURCE_DIR=/src/bar

Note: This is the extension of the approach we already support for
clang/lldb/poly with adding an option to specify additional supported
projects.

Diff Detail

Repository
rL LLVM

Event Timeline

tberghammer retitled this revision from to Add new LLVM_EXTERNAL_PROJECTS option to cmake.
tberghammer updated this object.
tberghammer added reviewers: chandlerc, beanz.
tberghammer added a subscriber: llvm-commits.
beanz accepted this revision.Jun 1 2016, 10:01 AM
beanz edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jun 1 2016, 10:01 AM
This revision was automatically updated to reflect the committed changes.