Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
drivers
usb_i2c_adapter
Commits
6946a288
Commit
6946a288
authored
Jul 09, 2019
by
Alejandro Lopez Gestoso
Browse files
Moved .h files to include folder. Adapted CMakeLists.txt file to this change.
parent
a867b384
Changes
3
Hide whitespace changes
Inline
Side-by-side
src
/usb_i2c.h
→
include
/usb_i2c.h
View file @
6946a288
File moved
src
/usb_i2c_exceptions.h
→
include
/usb_i2c_exceptions.h
View file @
6946a288
File moved
src/CMakeLists.txt
View file @
6946a288
# edit the following line to add all the source code files of the library
SET
(
sources usb_i2c.cpp usb_i2c_exceptions.cpp
)
# edit the following line to add all the header files of the library
SET
(
headers
usb_i2c.h
usb_i2c_exceptions.h
)
SET
(
headers
../include/usb_i2c.h ../include/
usb_i2c_exceptions.h
)
# edit the following line to find the necessary packages
FIND_PACKAGE
(
iriutils REQUIRED
)
FIND_PACKAGE
(
comm REQUIRED
)
# edit the following line to add the necessary include directories
INCLUDE_DIRECTORIES
(
.
${
iriutils_INCLUDE_DIR
}
${
comm_INCLUDE_DIR
}
)
INCLUDE_DIRECTORIES
(
.
./include/
${
iriutils_INCLUDE_DIR
}
${
comm_INCLUDE_DIR
}
)
ADD_LIBRARY
(
usb_i2c_adapter SHARED
${
sources
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment