Pacesie wrote:
Hello,In my C++ program I want to auto-generate a header ( .h ) file, which is included in most sources. I use ADD_CUSTOM_COMMAND to generate it, but I don't know how to neatly write the dependency to it.
Add the .h file as a source file of the target that uses it. -Bill _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake