[libc++][CMake] Do not define `cxx_shared_EXPORTS` when building the shared library
authorLouis Dionne <ldionne@apple.com>
Thu, 14 Mar 2019 17:15:47 +0000 (17:15 +0000)
committerLouis Dionne <ldionne@apple.com>
Thu, 14 Mar 2019 17:15:47 +0000 (17:15 +0000)
commit702411fc298032a2e700907cc3d6136d5b46afe7
treef254ea1ccaf8a2f17615be048a7b43676249614d
parent621de86907d5126e2597b720cbcc09ccffcbaaa0
[libc++][CMake] Do not define `cxx_shared_EXPORTS` when building the shared library

CMake will define -Dcxx_shared_EXPORTS when building the shared library
by default. In theory, this is used to signal to the library that we're
building a shared library and that dllimport/dllexport should be used.
However, we already have our own way of doing that, so I'm removing this
define to avoid meaningless command line arguments in the build.

llvm-svn: 356167
libcxx/lib/CMakeLists.txt