Skip to content
Snippets Groups Projects
Commit e6f0d8e7 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Merge branch 'devel' of...

Merge branch 'devel' of ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/laser.git into devel
parents 98fc7ca6 f71a5cb1
No related branches found
No related tags found
3 merge requests!30Release after RAL,!29After 2nd RAL submission,!19Resolve "Copying measurement and sqrtinfo in FactorBase (multi-threading)"
......@@ -258,6 +258,7 @@ endif(csm_FOUND)
# SET(SRCS_WRAPPER)
# ENDIF(Ceres_FOUND)
# create the shared library
ADD_LIBRARY(${PLUGIN_NAME}
SHARED
......@@ -276,6 +277,20 @@ ADD_LIBRARY(${PLUGIN_NAME}
${SRCS_WRAPPER}
${SRCS_YAML}
)
# Set compiler options
# ====================
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
message(STATUS "Using C++ compiler clang")
target_compile_options(${PLUGIN_NAME} PRIVATE -Winconsistent-missing-override)
# using Clang
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
message(STATUS "Using C++ compiler gnu")
target_compile_options(${PLUGIN_NAME} PRIVATE -Wsuggest-override)
# using GCC
endif()
#Link the created libraries
#===============EXAMPLE=========================
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${wolf_LIBRARIES} ${laser_scan_utils_LIBRARY})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment