overte-HifiExperiments/interface/external/MotionDriver/CMakeLists.txt
Andrzej Kapolka a116f5a636 Use InvenSense code to handle the rather complicated business of talking the
sensor into giving us the compass reading.  We're getting it now, but I still
have to figure out how to incorporate it.
2013-07-09 17:28:23 -07:00

14 lines
341 B
CMake

cmake_minimum_required(VERSION 2.8)
set(TARGET_NAME MotionDriver)
project(${TARGET_NAME})
# let the library know which device we're using
add_definitions(-DMPU9150)
# grab the implemenation and header files
file(GLOB MOTION_DRIVER_SRCS include/*.h src/*.c)
include_directories(include)
add_library(${TARGET_NAME} ${MOTION_DRIVER_SRCS})