File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.0.2)
22project (wire_core)
33
4+ add_compile_options (-Wall -Werror=all )
5+ add_compile_options (-Wextra -Werror=extra)
6+
47## Find catkin macros and libraries
58## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
69## is used, also find other catkin packages
@@ -40,10 +43,6 @@ include_directories(
4043)
4144
4245## Build
43- add_compile_options (-Wreturn-type ) # Return type checking
44- add_compile_options (-Wreorder)
45-
46-
4746add_library (wire
4847 src/WorldModelROS.cpp
4948 src/models/FixedState.cpp
@@ -79,7 +78,6 @@ add_library(wire
7978 include /wire/logic/AssignmentMatrix.h
8079 include /wire/logic/Hypothesis.h
8180 include /wire/logic/HypothesesTree.h
82-
8381)
8482
8583target_link_libraries (wire ${catkin_LIBRARIES} ${TinyXML2_LIBRARIES} )
You can’t perform that action at this time.
0 commit comments