[CMake] file not generated with ADD_CUSTOM_COMMAND

William A. Hoffman billlist at nycap.rr.com
Thu Jan 5 13:36:35 EST 2006


At 12:17 PM 1/5/2006, Alexander Neundorf wrote:
>> Von: "William A. Hoffman" <billlist at nycap.rr.com> 
>... 
>> You were missing the INCLUDE_DIRECTORIES command so the depend 
>> information did not search the correct directory for the file. 
> 
>But generated.h is included  
>#include "generated.h" 
>i.e. not with sharp braces, so the INCLUDE_DIRECTORIES() actually 
>shouldn't matter, should it ? 
> 

For an out of source build, it does matter.

-Bill



More information about the CMake mailing list