[libcxx] r250319 - [libcxx] Make it drastically simpler to link libc++.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 17:44:07 PDT 2015


Thanks. I'll look to see if any other LLVM projects have bumped the CMake
version to 3 yet. If so that's the direction I will head.




On Oct 20, 2015 9:39 PM, "Hahnfeld, Jonas" <Hahnfeld at itc.rwth-aachen.de>
wrote:

> > -----Original Message-----
> > From: cfe-commits [mailto:cfe-commits-bounces at lists.llvm.org] On Behalf
> > Of Eric Fiselier via cfe-commits
> > Sent: Wednesday, October 14, 2015 9:54 PM
> > To: cfe-commits at lists.llvm.org
> > Subject: [libcxx] r250319 - [libcxx] Make it drastically simpler to link
> > libc++.
> >
> > Author: ericwf
> > Date: Wed Oct 14 14:54:03 2015
> > New Revision: 250319
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=250319&view=rev
> > Log:
> > [libcxx] Make it drastically simpler to link libc++.
> [...]
> >  if (LIBCXX_INSTALL_LIBRARY)
> >    install(TARGETS cxx
> >      LIBRARY DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT libcxx
> >      ARCHIVE DESTINATION lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT libcxx
> >      )
> > +  # NOTE: This install command must go after the cxx install command
> > + otherwise  # it will not be executed after the library symlinks are
> > installed.
> > +  if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
> > +    install(FILES "$<TARGET_LINKER_FILE:cxx>"
> > +      DESTINATION lib${LIBCXX_LIBDIR_SUFFIX}
> > +      COMPONENT libcxx)
> > +  endif()
> >  endif()
>
> Generator expressions in install(FILES) are only allowed since CMake 3.0
> (https://cmake.org/cmake/help/v3.0/release/3.0.0.html#commands).
> The current minimum for libcxx is 2.8, so this should either be raised or
> we
> have to find another possibility of writing this install command...
>
> Greetings
> Jonas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151021/c9ef3be3/attachment.html>


More information about the cfe-commits mailing list