Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Minor cleanup - reanming and shortening.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed May 7, 2024
1 parent 3a0b73d commit 077f329
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ros2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v4
with:
path: 'ros2_ws/src/robotem-rovne'
path: 'ros2_ws/src/robotem_rovne'

- name: colcon build
run: |
Expand Down
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 3.8)
#######################################################################################
project(robotem_rovne)
set(ROBOTEM_ROVNE_ROBOT_TARGET ${PROJECT_NAME}_node)
set(ROBOTEM_ROVNE_TARGET ${PROJECT_NAME}_node)
#######################################################################################
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Werror -Wpedantic)
Expand All @@ -13,26 +13,26 @@ find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
find_package(mp-units REQUIRED)
#######################################################################################
add_executable(${ROBOTEM_ROVNE_ROBOT_TARGET}
add_executable(${ROBOTEM_ROVNE_TARGET}
src/Node.cpp
src/main.cpp
)
#######################################################################################
target_include_directories(${ROBOTEM_ROVNE_ROBOT_TARGET} PRIVATE
target_include_directories(${ROBOTEM_ROVNE_TARGET} PRIVATE
include
${mp_units_INCLUDE_DIRS}
)
#######################################################################################
target_compile_features(${ROBOTEM_ROVNE_ROBOT_TARGET} PRIVATE cxx_std_20)
target_compile_features(${ROBOTEM_ROVNE_TARGET} PRIVATE cxx_std_20)
#######################################################################################
target_link_libraries(${ROBOTEM_ROVNE_ROBOT_TARGET}
target_link_libraries(${ROBOTEM_ROVNE_TARGET}
${rclcpp_LIBRARIES}
${mp-units_LIBRARIES}
)
#######################################################################################
ament_target_dependencies(${ROBOTEM_ROVNE_ROBOT_TARGET} rclcpp std_msgs)
ament_target_dependencies(${ROBOTEM_ROVNE_TARGET} rclcpp std_msgs)
#######################################################################################
install(TARGETS ${ROBOTEM_ROVNE_ROBOT_TARGET} DESTINATION lib/${PROJECT_NAME})
install(TARGETS ${ROBOTEM_ROVNE_TARGET} DESTINATION lib/${PROJECT_NAME})
install(DIRECTORY launch DESTINATION share/${PROJECT_NAME})
#######################################################################################
ament_package()
Expand Down

0 comments on commit 077f329

Please sign in to comment.