]> granicus.if.org Git - llvm/commit
Add order-dependencies to object libraries
authorChris Bieneman <chris.bieneman@me.com>
Tue, 6 Aug 2019 19:41:23 +0000 (19:41 +0000)
committerChris Bieneman <chris.bieneman@me.com>
Tue, 6 Aug 2019 19:41:23 +0000 (19:41 +0000)
commit8ac2513e9b87ccca8a6ef4cf563397eeb33c19cb
tree1e72c56e140913ae7914c83f749e5bc3e71d0487
parentc822cfb9f8874f4fb88f1ec7aa9be7f4d027c551
Add order-dependencies to object libraries

Summary: If you are generating an object library that depends on table-gen generate sources, you need the object library to depend on the tablgen target. Currently llvm_add_library doesn't add dependencies for object libraries at all, which is clearly problematic.

Reviewers: compnerd, hintonda, smeenai

Reviewed By: smeenai

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65818

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368074 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake