Added 'make clean' support for generated lisp wrappers again.
This commit is contained in:
parent
0c4f0bbdcd
commit
e3a2d18a21
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue