Skip to content

Commit 8fe7234

Browse files
mergify[bot]donRaphaco
andauthored
custom cmake target: idf.py clean-ros (#105) (#106)
* custom cmake target: idf.py clean-ros * Update CMakeLists.txt * Update README.md Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com> (cherry picked from commit df431ce) Co-authored-by: donRaphaco <fixed-term.Raphael.Vogelgsang@de.bosch.com>
1 parent 874ed75 commit 8fe7234

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ target_link_libraries(${COMPONENT_LIB} INTERFACE libmicroros-prebuilt)
6767
set_directory_properties( PROPERTIES ADDITIONAL_CLEAN_FILES
6868
"${COMPONENT_DIR}/include;${COMPONENT_DIR}/micro_ros_dev;${COMPONENT_DIR}/micro_ros_src;${COMPONENT_DIR}/esp32_toolchain.cmake" )
6969

70+
add_custom_target(clean-microros COMMAND ${submake} -f libmicroros.mk clean
71+
WORKING_DIRECTORY ${COMPONENT_DIR})

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ idf.py monitor
4343
To clean and rebuild all the micro-ROS library:
4444

4545
```bash
46-
make -f libmicroros.mk clean
46+
idf.py clean-microros
4747
```
4848

4949
Is possible to use a micro-ROS Agent just with this docker command:

0 commit comments

Comments
 (0)