Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vision_utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
labrobotica
algorithms
vision_utils
Commits
9dadb517
Commit
9dadb517
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "remove `vision_utils/` from the path found by Findvision_utils"
parent
119ac806
No related branches found
No related tags found
1 merge request
!7
Resolve "remove `vision_utils/` from the path found by Findvision_utils"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ReadMe.md
+2
-2
2 additions, 2 deletions
ReadMe.md
cmake_modules/Findvision_utils.cmake
+6
-1
6 additions, 1 deletion
cmake_modules/Findvision_utils.cmake
src/CMakeLists.txt
+2
-2
2 additions, 2 deletions
src/CMakeLists.txt
with
10 additions
and
5 deletions
ReadMe.md
+
2
−
2
View file @
9dadb517
...
@@ -96,8 +96,8 @@ To do that, execute
...
@@ -96,8 +96,8 @@ To do that, execute
make
install
make
install
```
```
as root and the shared libraries will be copied to
`/usr/local/lib
/<vision_utils>
`
directory
as root and the shared libraries will be copied to
`/usr/local/lib`
directory
and the header files will be copied to
`/usr/local/include/
<
vision_utils
>
`
directory. At
and the header files will be copied to
`/usr/local/include/vision_utils`
directory. At
this point, the library may be used by any user.
this point, the library may be used by any user.
To remove the library from the system, exceute
To remove the library from the system, exceute
...
...
This diff is collapsed.
Click to expand it.
cmake_modules/Findvision_utils.cmake
+
6
−
1
View file @
9dadb517
#edit the following line to add the librarie's header files
#edit the following line to add the librarie's header files
FIND_PATH
(
vision_utils_INCLUDE_DIR vision_utils.h /usr/include/vision_utils /usr/local/include/vision_utils
)
FIND_PATH
(
vision_utils_INCLUDE_DIR vision_utils.h /usr/include/vision_utils /usr/local/include/vision_utils
)
#change INCLUDE_DIRS to its parent directory
get_filename_component
(
vision_utils_INCLUDE_DIR
${
vision_utils_INCLUDE_DIR
}
DIRECTORY
)
FIND_LIBRARY
(
vision_utils_LIBRARY
FIND_LIBRARY
(
vision_utils_LIBRARY
NAMES vision_utils
NAMES vision_utils
PATHS /usr/lib /usr/local/lib
/usr/local/lib/vision_utils
)
PATHS /usr/lib /usr/local/lib
)
IF
(
vision_utils_INCLUDE_DIR AND vision_utils_LIBRARY
)
IF
(
vision_utils_INCLUDE_DIR AND vision_utils_LIBRARY
)
SET
(
vision_utils_FOUND TRUE
)
SET
(
vision_utils_FOUND TRUE
)
SET
(
vision_utils_INCLUDE_DIRS
${
vision_utils_INCLUDE_DIR
}
)
SET
(
vision_utils_LIBRARIES
${
vision_utils_LIBRARY
}
)
ENDIF
(
vision_utils_INCLUDE_DIR AND vision_utils_LIBRARY
)
ENDIF
(
vision_utils_INCLUDE_DIR AND vision_utils_LIBRARY
)
IF
(
vision_utils_FOUND
)
IF
(
vision_utils_FOUND
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
2
−
2
View file @
9dadb517
...
@@ -266,8 +266,8 @@ ENDIF (YAMLCPP_FOUND)
...
@@ -266,8 +266,8 @@ ENDIF (YAMLCPP_FOUND)
# install
# install
INSTALL
(
TARGETS
${
PROJECT_NAME
}
INSTALL
(
TARGETS
${
PROJECT_NAME
}
RUNTIME DESTINATION bin
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
/
${
PROJECT_NAME
}
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
/
${
PROJECT_NAME
}
)
ARCHIVE DESTINATION lib
)
INSTALL
(
FILES
${
headers_main
}
DESTINATION include/
${
PROJECT_NAME
}
)
INSTALL
(
FILES
${
headers_main
}
DESTINATION include/
${
PROJECT_NAME
}
)
INSTALL
(
FILES
${
headers_com
}
DESTINATION include/
${
PROJECT_NAME
}
/common_class
)
INSTALL
(
FILES
${
headers_com
}
DESTINATION include/
${
PROJECT_NAME
}
/common_class
)
INSTALL
(
FILES
${
headers_sen
}
DESTINATION include/
${
PROJECT_NAME
}
/sensors
)
INSTALL
(
FILES
${
headers_sen
}
DESTINATION include/
${
PROJECT_NAME
}
/sensors
)
...
...
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