mirror of
https://github.com/CopterExpress/clover.git
synced 2026-06-08 02:24:32 +00:00
Cleanup
This commit is contained in:
@@ -44,8 +44,6 @@ find_package(OpenCV ${_opencv_version} REQUIRED
|
||||
imgproc
|
||||
)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
## System dependencies are found with CMake's conventions
|
||||
# find_package(Boost REQUIRED COMPONENTS system)
|
||||
|
||||
@@ -187,28 +185,9 @@ add_executable(clover_led src/led.cpp)
|
||||
|
||||
add_executable(shell src/shell.cpp)
|
||||
|
||||
# message(STATUS "catkin_LIBRARIES value: ${catkin_LIBRARIES}")
|
||||
# message(STATUS "GeographicLib_LIBRARIES value: ${GeographicLib_LIBRARIES}")
|
||||
# message(STATUS "Compiler CXX flags:" ${CMAKE_CXX_COMPILE_FLAGS})
|
||||
# message(STATUS "Compiler C flags:" ${CMAKE_C_COMPILE_FLAGS})
|
||||
# message(STATUS "Compiler cxx debug flags:" ${CMAKE_CXX_FLAGS_DEBUG})
|
||||
# message(STATUS "Compiler cxx release flags:" ${CMAKE_CXX_FLAGS_RELEASE})
|
||||
# message(STATUS "Compiler cxx min size flags:" ${CMAKE_CXX_FLAGS_MINSIZEREL})
|
||||
# message(STATUS "Compiler cxx flags:" ${CMAKE_CXX_FLAGS})
|
||||
|
||||
# FIXME: hack to fix https://travis-ci.org/github/CopterExpress/clover/jobs/766318908#L6532
|
||||
string(REPLACE "-lpthreads;" "" catkin_LIBRARIES "${catkin_LIBRARIES}")
|
||||
|
||||
macro(print_all_variables)
|
||||
message(STATUS "print_all_variables------------------------------------------{")
|
||||
get_cmake_property(_variableNames VARIABLES)
|
||||
foreach (_variableName ${_variableNames})
|
||||
message(STATUS "${_variableName}=${${_variableName}}")
|
||||
endforeach()
|
||||
message(STATUS "print_all_variables------------------------------------------}")
|
||||
endmacro()
|
||||
|
||||
print_all_variables()
|
||||
|
||||
target_link_libraries(simple_offboard
|
||||
${catkin_LIBRARIES}
|
||||
${GeographicLib_LIBRARIES}
|
||||
|
||||
Reference in New Issue
Block a user