[Cmake] using make clean
David Svoboda
xsvobod2 at informatics . muni . cz
Wed, 26 Nov 2003 16:12:46 +0100
Hello,
I have to following problem. I created a new custom command (as below) and
therefore a new set of *.hh files was created from *.idl files. These *.hh
files are used as header files in the next step. But I don't know, how to
delete these *.hh files with "make clean" command. Is there any reasonable
way?
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${FNAME}.hh
DEPENDS ${IDL_FILE}
COMMAND ${IDL_PROGRAM}
ARGS -bcxx ${IDL_FILE}
)
David