[CMake] Extra built type subdir appeded to LIBRARY_OUTPUT_PATH

Richard Maunder newsgroup at richardmaunder.com
Fri Mar 31 01:24:14 EST 2006


Hi,
 
With MSVS projects, when I set the library or executable output path, a
built type subdirectory is automatically appended to the output path - e.g.
 
SET(LIBRARY_OUTPUT_PATH R:/lib)

results in a VS .sln with linker output to R:\lib\$(OutDir)\

where OutDir is "debug" / "release" etc. Is there anyway to avoid this so
the lib/exe is put in the root LIBRARY_OUTPUT_PATH or should I revert to a
custom copy command to move the generated lib?

I'm sure this has come up before - but I can't find any mention on the
list....
 
Thanks
 
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060331/96cfb5a7/attachment.html


More information about the CMake mailing list