[go] Teach the go cmake build functions to funnel the include directories down into...
authorChandler Carruth <chandlerc@gmail.com>
Mon, 29 Dec 2014 22:50:30 +0000 (22:50 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 29 Dec 2014 22:50:30 +0000 (22:50 +0000)
commitf34da85923271d156aa1feab69cdb2c47e304109
tree266162620b5c5b9b22cccc22880b9834c7955dc4
parent456b7b602ca3f9a5ec584c11172fbcce3cdc6679
[go] Teach the go cmake build functions to funnel the include directories down into the cgo-setup variables of llvm-go.

Summary:
This in turn allows us to use #includes with cgo that rely on CMake
provided include directories which is particularly useful for handling
generated headers that aren't reasonable to put in an "installable"
location.

Differential Revision: http://reviews.llvm.org/D6798

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