Something about the custom command behavior has changed slightly and I am hoping I am just missing something.&nbsp; I have been able to do the following in the past:<br><br>#<br># reswrap log.sql file<br>#<br><br>SET(DBNAME log_sql)
<br>SET(DBS ${PROJECT_BINARY_DIR}/${DBNAME}.h)<br>SET(LOGSQL ${PROJECT_SOURCE_DIR}/../data/log.sql)<br><br>ADD_CUSTOM_COMMAND (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTPUT ${DBS}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEPENDS ${LOGSQL}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMMAND ${PROG_RESWRAP}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARGS -t -r ${DBNAME} ${LOGSQL} &gt; ${DBS}
<br>)<br><br>This cmake code basically generates a header file, which is included in source files in the project.&nbsp; Previous cmakes have been able to detect this file as a dependency of the source, and it would be triggered when needed.&nbsp; In the newest (
2.4.3) this no longer occurs, instead I receive an error message:<br><br>make[2]: *** No rule to make target `dtrand/src/log_sql.h', needed by `dtrand/src/CMakeFiles/dtrand.dir/Dtrand.o'.&nbsp; Stop.<br><br>I have other files that are generated in the same way, but they are source (.cpp) files, and are included in the source list.&nbsp; The sources files are generated, but not the header files.&nbsp; It seems that I may need to setup some sort of explicit dependency now?
<br><br>-thanks<br><br>