Re: [CMake] CmakeLists chain cannot find source added with add_custom_command

2017-07-02 Thread J Decker
It is not generated; because it is generated during a the build phase not the generate phase. So only the logical idea of the file exists. On Sun, Jul 2, 2017 at 12:12 AM, Eric Noulard wrote: > Needless to say that your example should work but somehow CMake does not > see that the referred file

Re: [CMake] CmakeLists chain cannot find source added with add_custom_command

2017-07-02 Thread Eric Noulard
Needless to say that your example should work but somehow CMake does not see that the referred file is GENERATED. Le 2 juil. 2017 09:11, "Eric Noulard" a écrit : > Is the referred file created? > Does your actual command creating the file doing it in the source tree and > not in the build tree?

Re: [CMake] CmakeLists chain cannot find source added with add_custom_command

2017-07-02 Thread Eric Noulard
Is the referred file created? Does your actual command creating the file doing it in the source tree and not in the build tree? Are you building in-source or out of source? Could you give us us a toy example which shows the issue? Le 2 juil. 2017 04:32, "J Decker" a écrit : Known issue? Or jus