[CMake] different output location for targets?

Matthew Woehlke mw_triad at users.sourceforge.net
Fri Apr 20 20:05:56 EDT 2007


I'm trying to adapt an existing build system that wants to put all its
targets in e.g. ${CMAKE_BINARY_DIR}/foo, even though the targets live in
many source directories. How can I do this?

I'm thinking something with the OUTPUT_NAME target property, but I'm not
seeing how to build this correctly (lib prefix, suffix, etc.).

-- 
Matthew
<insert bad pun... on second thought, better not>



More information about the CMake mailing list