Skip to content
Snippets Groups Projects
Commit 6946a288 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Moved .h files to include folder. Adapted CMakeLists.txt file to this change.

parent a867b384
No related branches found
No related tags found
No related merge requests found
File moved
File moved
# edit the following line to add all the source code files of the library # edit the following line to add all the source code files of the library
SET(sources usb_i2c.cpp usb_i2c_exceptions.cpp) SET(sources usb_i2c.cpp usb_i2c_exceptions.cpp)
# edit the following line to add all the header files of the library # 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 # edit the following line to find the necessary packages
FIND_PACKAGE(iriutils REQUIRED) FIND_PACKAGE(iriutils REQUIRED)
FIND_PACKAGE(comm REQUIRED) FIND_PACKAGE(comm REQUIRED)
# edit the following line to add the necessary include directories # 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}) ADD_LIBRARY(usb_i2c_adapter SHARED ${sources})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment