[CMake] SET_TARGET_POPERTIES LOCATION for ADD_LIBRARAY
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Nov 15 01:20:49 EST 2007
On Thursday 15 November 2007, Amit C. Kr. Saluja wrote:
> Hi
>
> I am
> doing
> ADD_LIBRARY( yourprintf SHARED ${SOURCS})
> SET_TARGET_PROPERTIES ( yourprintf PROPERTIES LOCATION
> "/home/aks/yourprintf")
>
> Its not producing the library @ the LOCATIOn
> specified.
I thnk you can only read that propery, but not change it.
To have the libs in another location set LIBRARY_OUTPUT_DIR
Alex
More information about the CMake
mailing list