Home | History | Annotate | Download | only in adafruitms1438
      1 set (libname "adafruitms1438")
      2 set (libdescription "upm module for the Adafruit Motor Shield 1438")
      3 set (module_src ${libname}.cxx)
      4 set (module_h ${libname}.h)
      5 set (reqlibname "upm-pca9685")
      6 include_directories("../pca9685")
      7 upm_module_init()
      8 add_dependencies(${libname} pca9685)
      9 target_link_libraries(${libname} pca9685)
     10 if (BUILDSWIG)
     11   if (BUILDSWIGNODE)
     12     swig_link_libraries (jsupm_${libname} pca9685 ${MRAA_LIBRARIES} ${NODE_LIBRARIES})
     13   endif()
     14   if (BUILDSWIGPYTHON)
     15     swig_link_libraries (pyupm_${libname} pca9685 ${PYTHON_LIBRARIES} ${MRAA_LIBRARIES})
     16   endif()
     17 endif()
     18