James Bigler wrote:
> If I have a rule that generates some intermediate files, how do I add
> those files to the list that get removed when I do a "make clean"?

I'm assuming you're talking about intermediate files when building a
custom command.  If they are listed as the OUTPUT of the custom command
they will be cleaned:

ADD_CUSTOM_COMMAND(
  OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/real_output.txt
         ${CMAKE_CURRENT_BINARY_DIR}/intermediate.txt
  COMMAND ...
  )

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to