That's exactly what I was looking for, thanks Fraser! JL
On Sat, Jan 19, 2013 at 12:17 PM, Fraser Hutchison <fraser.hutchi...@gmail.com> wrote: > I think this is what the SOURCES arg is for. You could just duplicate the > list of DEPENDS files as the SOURCES argument too: > > add_custom_target(LIB_NAME DEPENDS ${LIST_OF_HEADERS} SOURCES > ${LIST_OF_HEADERS}) > > Cheers, > Fraser. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake