<div dir="ltr">My mistake, the tutorials I looked at were for using generated files in add_library.  I do have a working add_library with generated files, but I can't seem to get generated files to work with add_executable.  So is there a difference between the two?  add_library allows for use of generated files, but add_executable does not?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 20, 2015 at 2:57 PM, Tom Kacvinsky <span dir="ltr"><<a href="mailto:tom.kacvinsky@vectorcast.com" target="_blank">tom.kacvinsky@vectorcast.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have need to make an executable that depends on a generated file.  I've read several tutorials on how to do this, but even after following those instructions, I get this error:<br><br>CMake Error at CMakeLists.txt:436 (add_executable):<br>  Cannot find source file:<br><br>    .chop/maint.adb<br><br>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp<br><br></div><div>has anyone done this, and if so, do you have tips on how to proceed?<br><br></div><div>Thanks,<br><br></div><div>Tom<br></div></div>
</blockquote></div><br></div>