[CMake] .c file including a .c file

Brandon J. Van Every bvanevery at gmail.com
Thu Jan 25 13:41:13 EST 2007


In our PCRE library, pcre_ucp_findchar.c has

#include "ucp_findchar.c"

Will CMake automagically detect this dependency?  I think it would be 
incorrect to list ucp_findchar.c as a source file, as we don't want an 
object file to result.  I suppose I'll do ADD_DEPENDENCIES if they're no 
automagically detected.


Cheers,
Brandon Van Every



More information about the CMake mailing list