Skip to content
Snippets Groups Projects
Commit a45613b1 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 e2d1ad62
No related branches found
No related tags found
No related merge requests found
File moved
File moved
File moved
File moved
# driver source files # driver source files
SET(sources bno055_imu_driver.cpp bno055_imu_exceptions.cpp) SET(sources bno055_imu_driver.cpp bno055_imu_exceptions.cpp)
# application header files # application header files
SET(headers bno055_imu_driver.h bno055_imu_exceptions.h bno055_common.h) SET(headers ../include/bno055_imu_driver.h ../include/bno055_imu_exceptions.h ../include/bno055_common.h)
# simulator source files # simulator source files
SET(sources_sim bno055_imu_sim.cpp bno055_imu_exceptions.cpp) SET(sources_sim bno055_imu_sim.cpp bno055_imu_exceptions.cpp)
# application header files # application header files
SET(headers_sim bno055_imu_sim.h bno055_imu_exceptions.h bno055_common.h) SET(headers_sim ../include/bno055_imu_sim.h ../include/bno055_imu_exceptions.h ../include/bno055_common.h)
# locate the necessary dependencies # locate the necessary dependencies
FIND_PACKAGE(iriutils REQUIRED) FIND_PACKAGE(iriutils REQUIRED)
FIND_PACKAGE(comm REQUIRED) FIND_PACKAGE(comm REQUIRED)
# add the necessary include directories # add the necessary include directories
INCLUDE_DIRECTORIES(.) INCLUDE_DIRECTORIES(../include)
INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${comm_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${comm_INCLUDE_DIR})
# create the shared library # create the shared library
......
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