Added 'make clean' support for generated lisp wrappers again.

This commit is contained in:
Lorenz Moesenlechner 2010-04-23 23:20:00 +00:00
parent 0c4f0bbdcd
commit e3a2d18a21
1 changed files with 3 additions and 0 deletions

View File

@ -97,6 +97,9 @@ macro(rosbuild_add_lisp_executable _output _system_name _entry_point)
add_custom_target(${_targetname} ALL
COMMAND ${roslisp_make_node_exe} ${PROJECT_NAME} ${_system_name} ${_entry_point} ${CMAKE_CURRENT_SOURCE_DIR}/${_output})
add_dependencies(${_targetname} rosbuild_precompile)
get_directory_property(current_clean_files ADDITIONAL_MAKE_CLEAN_FILES)
list(APPEND current_clean_files "${CMAKE_CURRENT_SOURCE_DIR}/${_output};${CMAKE_CURRENT_SOURCE_DIR}/${_output}.lisp")
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${current_clean_files}")
endmacro(rosbuild_add_lisp_executable)
macro(rospack_add_lisp_executable _output _system_name _entry_point)