[cmake-developers] Is there a way to avoid LOCATION property with Qt5?
Nils Gladitz
nilsgladitz at gmail.com
Tue Apr 28 04:05:13 EDT 2015
On 04/28/2015 09:30 AM, Alan W. Irwin wrote:
> I don't understand exactly what you mean by "configuration LOCATION
> returns". From what you said that term means something different from
> LOCATION_<CONFIG> and in any case is not relevant to my use case of
> generating pkg-config *.pc files with our build system, but I am
> nevertheless curious about what you meant.)
E.g. on windows with MSVC cmake target exports may refer to locations of
both a Debug and a Release binary.
LOCATION returns the path to one of those two (you don't know which).
LOCATION_DEBUG and LOCATION_RELEASE would refer to the Debug and Release
binary respectively.
Nils
More information about the cmake-developers
mailing list