From 6480db4b3afb0adb0ffcedc6e88e3b3f394a86cf Mon Sep 17 00:00:00 2001 From: Anders Waldenborg Date: Tue, 15 Oct 2013 12:08:59 +0000 Subject: Add AllTargetsBindings sublibrary instead of having static inlines in the llvm-c headers. This new library will be linked in when using the "all-targets" component and contains the LLVMInitializeAll* functions. This means that those functions will exist as real symbols in the shared library, and can therefore can be called from bindings that are using ffi the shared library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192690 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Target/CMakeLists.txt') diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index 02ac493b42..861c999c6b 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -14,3 +14,5 @@ foreach(t ${LLVM_TARGETS_TO_BUILD}) message(STATUS "Targeting ${t}") add_subdirectory(${t}) endforeach() + +add_subdirectory("AllTargetsBindings") -- cgit v1.2.3