update
This commit is contained in:
parent
b7a7a60b7b
commit
b6c387dd0f
|
|
@ -3,7 +3,6 @@ project(common_msgs)
|
|||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
add_subdirectory(utils)
|
||||
|
||||
if (NOT TARGET robot_std_msgs)
|
||||
add_subdirectory(robot_std_msgs)
|
||||
|
|
|
|||
|
|
@ -20,11 +20,9 @@
|
|||
<buildtool_depend version_gte="0.5.68">catkin</buildtool_depend>
|
||||
|
||||
<build_depend>robot_std_msgs</build_depend>
|
||||
<build_depend>utils</build_depend>
|
||||
<build_depend>robot_time</build_depend>
|
||||
|
||||
<run_depend>robot_std_msgs</run_depend>
|
||||
<run_depend>utils</run_depend>
|
||||
<run_depend>robot_time</run_depend>
|
||||
|
||||
</package>
|
||||
|
|
@ -143,10 +143,10 @@ else()
|
|||
message(STATUS "=================================")
|
||||
endif()
|
||||
|
||||
# ========================================================
|
||||
# Test executables
|
||||
# ========================================================
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/main.cpp)
|
||||
add_executable(${PROJECT_NAME}_test test/main.cpp)
|
||||
target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME})
|
||||
endif()
|
||||
# # ========================================================
|
||||
# # Test executables
|
||||
# # ========================================================
|
||||
# if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/main.cpp)
|
||||
# add_executable(${PROJECT_NAME}_test test/main.cpp)
|
||||
# target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME})
|
||||
# endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user