[CMake] Modifying LIBRARY_OUTPUT_PATH dynamically in a macro

gga ggarra at advancedsl.com.ar
Wed Jun 6 17:13:32 EDT 2007


gga wrote:
> Filipe Sousa wrote:
>> you can use
>>
>> SET_TARGET_PROPERTIES(${target}
>>   PROPERTIES LIBRARY_OUTPUT_DIRECTORY ...)
>>
> 
> Really?  That propery is not documented at www.cmake.org.  However, it
> does not seem to work, either -- using cmake 2.4-patch 4.
> 
> The library still gets placed directly in the ${LIBRARY_OUTPUT_PATH},
> not in ${LIBRARY_OUTPUT_PATH}/${subdir} as I want.
> 
> 

Never mind.  I upgraded to the latest CVS version (cmake2.5) and now it
works.


-- 
Gonzalo Garramuño
ggarra at advancedsl.com.ar

AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy


More information about the CMake mailing list