[CMake] Creating a target in a subdirectory of XXX_OUTPUT_PATH

Matthieu Brucher matthieu.brucher at gmail.com
Fri Apr 20 04:57:43 EDT 2007


Hi,

I'm trying to create a library in a subdirectory of LIBRARY_OUTPUT_PATH, so
I added the path in the name of the library, but ADD_LIBRARY adds a "lib" at
the beginning of the name :| so the correct path is not used. Same for
SWIG_ADD_MODULE
I hacked the system by providing a new LIBRARY_OUTPUT_PATH for this specific
target, but is there a correct way to do this ?

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070420/fe9e8271/attachment.htm


More information about the CMake mailing list