[cmake-developers] [CMake 0014317]: Configuration dependent install EXPORT
R.H.
opensguser at web.de
Tue Feb 3 09:20:35 EST 2015
Brad King <brad.king at ...> writes:
>
> Steve,
>
> On 07/26/2013 04:43 AM, Mantis Bug Tracker wrote:
> > http://www.cmake.org/Bug/view.php?id=14317
>
> What do you think about adding generator expressions to install
> DESTINATION options. In particular the $<CONFIGURATION> genex
> would be useful in this case.
>
> Thanks,
> -Brad
Generator expressions given to DESTINATION in the install() command
unfortunately are still not supported as of 3.1.1, e.g.
install(
TARGETS mylib
EXPORT mylib
ARCHIVE DESTINATION "lib/$<CONFIG>"
)
Without this, I can't find any satisfiable solution installing archive and
runtime files for multi-configuration projects (VS) using the export
mechanism. Visual Studio users really suffer from this, as only one
configuration can be used.
Is there any chance this feature (genex) will be added? The ticket 0014317
(http://www.cmake.org/Bug/view.php?id=14317) is still open.
More information about the cmake-developers
mailing list