[CMake] add_executable with generated files

Tom Kacvinsky tom.kacvinsky at vectorcast.com
Wed May 20 14:57:23 EDT 2015


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:

CMake Error at CMakeLists.txt:436 (add_executable):
  Cannot find source file:

    .chop/maint.adb

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp

has anyone done this, and if so, do you have tips on how to proceed?

Thanks,

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150520/c388188c/attachment.html>


More information about the CMake mailing list