mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
updated cmakelists for ros build, added ci config to test both catkin_make and catkin_make_isolated
This commit is contained in:
@@ -17,6 +17,7 @@ option(STATIC_CHECK OFF)
|
||||
if(CATKIN_DEVEL_PREFIX)
|
||||
message(STATUS "Build package with catkin")
|
||||
set(BUILD_WITHOUT_ROS OFF)
|
||||
find_package(catkin REQUIRED)
|
||||
else()
|
||||
message(STATUS "Build package with cmake")
|
||||
set(BUILD_WITHOUT_ROS ON)
|
||||
@@ -190,7 +191,8 @@ else() # BUILD_WITHOUT_ROS
|
||||
catkin_package(
|
||||
LIBRARIES ${PROJECT_NAME}
|
||||
INCLUDE_DIRS include
|
||||
# DEPENDS rt pthread
|
||||
# CATKIN_DEPENDS rospy scout_msgs std_msgs
|
||||
# DEPENDS system_lib
|
||||
)
|
||||
|
||||
## Add catkin install targets
|
||||
|
||||
Reference in New Issue
Block a user