UNPKG

mraa

Version:

IO library that helps you use I2c, SPI, gpio, uart, pwm, analog inputs (aio) and more on a number of platforms such as the Intel galileo, the Intel edison and others

10 lines (8 loc) 279 B
set_source_files_properties (mraapython.i PROPERTIES CPLUSPLUS ON) set_source_files_properties (mraapython.i PROPERTIES SWIG_FLAGS "-I${CMAKE_BINARY_DIR}/src") if (PYTHON2_LIBRARY) add_subdirectory (python2) endif () if (PYTHON3_LIBRARY) add_subdirectory (python3) endif ()