Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_ros_laser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_ros
wolf_ros_laser
Commits
22aae26b
Commit
22aae26b
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
finally solved
parent
9103930b
No related branches found
No related tags found
2 merge requests
!6
After cmake and const refactor
,
!5
Resolve "Adapt to core cmake refactor"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+7
-20
7 additions, 20 deletions
CMakeLists.txt
with
7 additions
and
20 deletions
CMakeLists.txt
+
7
−
20
View file @
22aae26b
...
@@ -43,36 +43,23 @@ add_library(subscriber_${PROJECT_NAME}
...
@@ -43,36 +43,23 @@ add_library(subscriber_${PROJECT_NAME}
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/subscriber_laser2d.cpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/subscriber_laser2d.cpp
)
)
get_target_property
(
wolflaser_INCLUDE_DIR
S
wolflaser INTERFACE_INCLUDE_DIRECTORIES
)
get_target_property
(
wolflaser_INCLUDE_DIR wolflaser INTERFACE_INCLUDE_DIRECTORIES
)
message
(
"wolflaser_INCLUDE_DIRS:
${
wolflaser_INCLUDE_DIRS
}
"
)
message
(
"wolflaser_INCLUDE_DIRS:
${
wolflaser_INCLUDE_DIRS
}
"
)
find_file
(
FALKO processor_loop_cosure_falko.h PATHS wolflaser_INCLUDE_DIRS PATH_SUFFIXES laser/processor /laser/processor laser/processor/ /laser/processor/ NO_DEFAULT_PATH
)
find_file
(
FALKO laser/processor/processor_loop_closure_falko.h PATHS
${
wolflaser_INCLUDE_DIR
}
)
find_file
(
ICP laser/processor/processor_odom_icp.h PATHS wolflaser_INCLUDE_DIRS NO_DEFAULT_PATH
)
find_file
(
ICP laser/processor/processor_odom_icp.h PATHS
${
wolflaser_INCLUDE_DIR
}
)
message
(
"FALKO:
${
FALKO
}
"
)
if
(
NOT FALKO-NOTFOUND
)
message
(
"NOT FALKO-NOTFOUND"
)
else
()
message
(
"FALKO-NOTFOUND"
)
endif
()
message
(
"ICP:
${
ICP
}
"
)
if
(
NOT ICP-NOTFOUND
)
message
(
"NOT ICP-NOTFOUND"
)
else
()
message
(
"ICP-NOTFOUND"
)
endif
()
if
(
FALKO
)
if
(
FALKO
)
message
(
"Found 'processor_loop_cosure_falko.h'. Compiling publisher_falko."
)
message
(
"Found '
laser/processor/
processor_loop_c
l
osure_falko.h'. Compiling publisher_falko."
)
target_sources
(
publisher_
${
PROJECT_NAME
}
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/publisher_falko.cpp
)
target_sources
(
publisher_
${
PROJECT_NAME
}
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/publisher_falko.cpp
)
else
()
else
()
message
(
"Didn't find 'processor_loop_cosure_falko.h'. Not compiling publisher_falko."
)
message
(
"Didn't find '
laser/processor/
processor_loop_c
l
osure_falko.h'. Not compiling publisher_falko."
)
endif
()
endif
()
if
(
ICP
)
if
(
ICP
)
message
(
"Found 'processor_odom_icp.h'. Compiling publisher_odom_icp."
)
message
(
"Found '
laser/processor/
processor_odom_icp.h'. Compiling publisher_odom_icp."
)
target_sources
(
publisher_
${
PROJECT_NAME
}
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/publisher_odom_icp.cpp
)
target_sources
(
publisher_
${
PROJECT_NAME
}
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/publisher_odom_icp.cpp
)
else
()
else
()
message
(
"Didn't find 'processor_odom_icp.h'. Not compiling publisher_odom_icp."
)
message
(
"Didn't find '
laser/processor/
processor_odom_icp.h'. Not compiling publisher_odom_icp."
)
endif
()
endif
()
## Specify libraries to link a library or executable target against
## Specify libraries to link a library or executable target against
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment