2015-03-04 15:36:56 -07:00
|
|
|
set (libname "adafruitms1438")
|
|
|
|
|
set (libdescription "upm module for the Adafruit Motor Shield 1438")
|
|
|
|
|
set (module_src ${libname}.cxx)
|
|
|
|
|
set (module_h ${libname}.h)
|
|
|
|
|
set (reqlibname "upm-pca9685")
|
|
|
|
|
include_directories("../pca9685")
|
|
|
|
|
upm_module_init()
|
2015-03-21 13:15:14 +00:00
|
|
|
add_dependencies(${libname} pca9685)
|
2015-03-04 15:36:56 -07:00
|
|
|
target_link_libraries(${libname} pca9685)
|
2015-03-21 13:15:14 +00:00
|
|
|
if (BUILDSWIGNODE)
|
|
|
|
|
swig_link_libraries (jsupm_${libname} pca9685 ${MRAA_LIBRARIES} ${NODE_LIBRARIES})
|
|
|
|
|
endif()
|
|
|
|
|
if (BUILDSWIGPYTHON)
|
|
|
|
|
swig_link_libraries (pyupm_${libname} pca9685 ${PYTHON_LIBRARIES} ${MRAA_LIBRARIES})
|
|
|
|
|
endif()
|