Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imu
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_lib
plugins
imu
Merge requests
!45
Resolve "Adapt to CMakeLists.txt refactoring in core"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Adapt to CMakeLists.txt refactoring in core"
26-adapt-to-cmakelists-txt-refactoring-in-core
into
devel
Overview
0
Commits
25
Pipelines
0
Changes
25
Merged
Mederic Fourmy
requested to merge
26-adapt-to-cmakelists-txt-refactoring-in-core
into
devel
3 years ago
Overview
0
Commits
25
Pipelines
0
Changes
25
Expand
Closes
#26 (closed)
Edited
2 years ago
by
Mederic Fourmy
0
0
Merge request reports
Compare
devel
version 19
58b293c7
2 years ago
version 18
ce1a700e
3 years ago
version 17
7b26dd1b
3 years ago
version 16
166496fd
3 years ago
version 15
e1b05694
3 years ago
version 14
6191714e
3 years ago
version 13
8a7ee17c
3 years ago
version 12
e75f1731
3 years ago
version 11
6f741b2b
3 years ago
version 10
5ff7bfed
3 years ago
version 9
13b880d7
3 years ago
version 8
065bad36
3 years ago
version 7
22644a28
3 years ago
version 6
420a85d8
3 years ago
version 5
edf3a08f
3 years ago
version 4
9c867e1f
3 years ago
version 3
ffc28928
3 years ago
version 2
23651717
3 years ago
version 1
3309ca9d
3 years ago
devel (base)
and
latest version
latest version
7919dc3e
25 commits,
2 years ago
version 19
58b293c7
24 commits,
2 years ago
version 18
ce1a700e
23 commits,
3 years ago
version 17
7b26dd1b
21 commits,
3 years ago
version 16
166496fd
20 commits,
3 years ago
version 15
e1b05694
18 commits,
3 years ago
version 14
6191714e
15 commits,
3 years ago
version 13
8a7ee17c
14 commits,
3 years ago
version 12
e75f1731
13 commits,
3 years ago
version 11
6f741b2b
12 commits,
3 years ago
version 10
5ff7bfed
11 commits,
3 years ago
version 9
13b880d7
10 commits,
3 years ago
version 8
065bad36
9 commits,
3 years ago
version 7
22644a28
8 commits,
3 years ago
version 6
420a85d8
7 commits,
3 years ago
version 5
edf3a08f
6 commits,
3 years ago
version 4
9c867e1f
5 commits,
3 years ago
version 3
ffc28928
4 commits,
3 years ago
version 2
23651717
3 commits,
3 years ago
version 1
3309ca9d
1 commit,
3 years ago
25 files
+
157
−
224
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
25
Search (e.g. *.vue) (Ctrl+P)
cmake_modules/wolfimuConfig.cmake deleted
100644 → 0
+
0
−
84
Options
#edit the following line to add the librarie's header files
FIND_PATH
(
wolfimu_INCLUDE_DIRS
NAMES imu.found
PATHS /usr/local/include/iri-algorithms/wolf/plugin_imu
)
IF
(
wolfimu_INCLUDE_DIRS
)
MESSAGE
(
"Found wolf imu include dirs:
${
wolfimu_INCLUDE_DIRS
}
"
)
ELSE
(
wolfimu_INCLUDE_DIRS
)
MESSAGE
(
"Couldn't find wolf imu include dirs"
)
ENDIF
(
wolfimu_INCLUDE_DIRS
)
FIND_LIBRARY
(
wolfimu_LIBRARIES
NAMES libwolfimu.so libwolfimu.dylib
PATHS /usr/local/lib
)
IF
(
wolfimu_LIBRARIES
)
MESSAGE
(
"Found wolf imu lib:
${
wolfimu_LIBRARIES
}
"
)
ELSE
(
wolfimu_LIBRARIES
)
MESSAGE
(
"Couldn't find wolf imu lib"
)
ENDIF
(
wolfimu_LIBRARIES
)
IF
(
wolfimu_INCLUDE_DIRS AND wolfimu_LIBRARIES
)
SET
(
wolfimu_FOUND TRUE
)
ELSE
(
wolfimu_INCLUDE_DIRS AND wolfimu_LIBRARIES
)
set
(
wolfimu_FOUND FALSE
)
ENDIF
(
wolfimu_INCLUDE_DIRS AND wolfimu_LIBRARIES
)
IF
(
wolfimu_FOUND
)
IF
(
NOT wolfimu_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found wolf imu:
${
wolfimu_LIBRARIES
}
"
)
ENDIF
(
NOT wolfimu_FIND_QUIETLY
)
ELSE
(
wolfimu_FOUND
)
IF
(
wolfimu_FIND_REQUIRED
)
MESSAGE
(
FATAL_ERROR
"Could not find wolf imu"
)
ENDIF
(
wolfimu_FIND_REQUIRED
)
ENDIF
(
wolfimu_FOUND
)
macro
(
wolf_report_not_found REASON_MSG
)
set
(
wolfimu_FOUND FALSE
)
unset
(
wolfimu_INCLUDE_DIRS
)
unset
(
wolfimu_LIBRARIES
)
# Reset the CMake module path to its state when this script was called.
set
(
CMAKE_MODULE_PATH
${
CALLERS_CMAKE_MODULE_PATH
}
)
# Note <package>_FIND_[REQUIRED/QUIETLY] variables defined by
# FindPackage() use the camelcase library name, not uppercase.
if
(
wolfimu_FIND_QUIETLY
)
message
(
STATUS
"Failed to find wolf imu- "
${
REASON_MSG
}
${
ARGN
}
)
elseif
(
wolfimu_FIND_REQUIRED
)
message
(
FATAL_ERROR
"Failed to find wolf imu - "
${
REASON_MSG
}
${
ARGN
}
)
else
()
# Neither QUIETLY nor REQUIRED, use SEND_ERROR which emits an error
# that prevents generation, but continues configuration.
message
(
SEND_ERROR
"Failed to find wolf imu - "
${
REASON_MSG
}
${
ARGN
}
)
endif
()
return
()
endmacro
(
wolf_report_not_found
)
if
(
NOT wolfimu_FOUND
)
wolf_report_not_found
(
"Something went wrong while setting up wolf imu."
)
endif
(
NOT wolfimu_FOUND
)
# Set the include directories for wolf (itself).
set
(
wolfimu_FOUND TRUE
)
# Now we gather all the required dependencies for Wolf imu
if
(
NOT wolf_FOUND
)
FIND_PACKAGE
(
wolfcore REQUIRED
)
#We reverse in order to insert at the start
list
(
REVERSE wolfimu_INCLUDE_DIRS
)
list
(
APPEND wolfimu_INCLUDE_DIRS
${
wolfcore_INCLUDE_DIRS
}
)
list
(
REVERSE wolfimu_INCLUDE_DIRS
)
list
(
REVERSE wolfimu_LIBRARIES
)
list
(
APPEND wolfimu_LIBRARIES
${
wolfcore_LIBRARIES
}
)
list
(
REVERSE wolfimu_LIBRARIES
)
endif
()
# provide both INCLUDE_DIR and INCLUDE_DIRS
SET
(
wolfimu_INCLUDE_DIR
${
wolfimu_INCLUDE_DIRS
}
)
# provide both LIBRARY and LIBRARIES
SET
(
wolfimu_LIBRARY
${
wolfimu_LIBRARIES
}
)
Loading