[CMake] ADD_CUSTOM_COMMAND: OUTPUTS ignored when in subdir

Frederik Deweerdt deweerdt at free.fr
Tue Jun 6 08:14:47 EDT 2006


On Tue, Jun 06, 2006 at 12:27:34PM +0200, Alexander Neundorf wrote:
> Prepending ${CMAKE_CURRENT_BINARY_DIR} in front of the generated
> file names is usually a good idea. And I would suggest not to
> create them in ${CMAKE_CURRENT_BINARY_DIR}/rpc/, but directly in
> ${CMAKE_CURRENT_BINARY_DIR}.
> Maybe this helps in your case too ?
Prefixing the generated sources with ${CMAKE_CURRENT_BINARY_DIR} did help.
Thanks,
Frederik


More information about the CMake mailing list