2011-09-14 10:44:55 -03:00
|
|
|
set(LIB_NAME AP_OpticalFlow)
|
|
|
|
|
|
|
|
set(${LIB_NAME}_SRCS
|
|
|
|
AP_OpticalFlow.cpp
|
|
|
|
#AP_OpticalFlow_ADNS3080.cpp
|
|
|
|
) # Firmware sources
|
|
|
|
|
|
|
|
set(${LIB_NAME}_HDRS
|
|
|
|
AP_OpticalFlow.h
|
|
|
|
#AP_OpticalFlow_ADNS3080.h
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
|
|
|
|
-
|
|
|
|
${CMAKE_SOURCE_DIR}/libraries/AP_Math
|
|
|
|
#${CMAKE_SOURCE_DIR}/libraries/AP_Common
|
|
|
|
#${CMAKE_SOURCE_DIR}/libraries/FastSerial
|
|
|
|
#
|
|
|
|
)
|
|
|
|
|
2011-09-29 15:12:15 -03:00
|
|
|
set(${LIB_NAME}_BOARD ${BOARD})
|
2011-09-14 10:44:55 -03:00
|
|
|
|
|
|
|
generate_arduino_library(${LIB_NAME})
|