EXPORTED_SYMBOL_FILE support for cmake
authorNico Weber <nicolasweber@gmx.de>
Sat, 28 Dec 2013 23:31:44 +0000 (23:31 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 28 Dec 2013 23:31:44 +0000 (23:31 +0000)
commitb6fe25c47661a287224d09165b68ce76084294ca
treeb8f9b8e17241ebe4ea979afeda7ce16dea31afc3
parent621bd8d76a698899959190849a1b21d019f56e52
EXPORTED_SYMBOL_FILE support for cmake

The cmake build didn't support EXPORTED_SYMBOL_FILE. Instead, it had a
Windows-only implementation in tools/lto/CMakeLists.txt, a linux-only
implementation in tools/gold/CMakeLists.txt, and a darwin-only implementation
in tools/clang/tools/libclang/CMakeLists.txt.

This attempts to consolidate these one-offs into a single place. Clients can now
just set LLVM_EXPORTED_SYMBOL_FILE and things (hopefully) Just Work, like in
the make build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198136 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
cmake/modules/HandleLLVMOptions.cmake
tools/gold/CMakeLists.txt
tools/lto/CMakeLists.txt