mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-07 08:08:35 +02:00
sensor into giving us the compass reading. We're getting it now, but I still have to figure out how to incorporate it.
14 lines
341 B
CMake
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})
|