Le 05/10/2017 à 18:17, Kornel Benko a écrit :
The OUTPUT refers to ${_created_doc}, so I would try to debug, e.g insert prior to the 'custom_command()' message(STATUS "output ${_created_doc}")
With this in development/cmake/doc/CMakeLists.txt: SET_SOURCE_FILES_PROPERTIES(${_created_doc} GENERATED) message(STATUS "output ${_created_doc}") add_custom_command( I get the same error without extra output.
But probably in your source directory is a file starting with '#'. Editing with emacs?
Sure, editing with LyX as well, I'm currently translating the UsersGuide: $ find ../newmaster/ -name '#*' ../newmaster/lib/doc/#Changelog-UserGuide-LyX_23x.txt# ../newmaster/lib/doc/fr/#UserGuide.lyx# ../newmaster/lib/doc/ja/#Additional.lyx# So I can save the files and retry. Thanks for your help -- Jean-Pierre