aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
AgeCommit message (Collapse)Author
2020-10-28python2: remove ability to build python2 bindings from projectMihai Tudor Panu
This removes Python 2 package generation from the project to encourage safer development with Python 3 instead. Documentation for the generated modules switched to Python 3. Default interpreter is now Python 3 but can be overridden if needed for running the tests only on older environments. Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-05-23CMake: add spdx tags to modulesThomas Ingleby
Helps to be explict what license each module is under Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-08TargetArch: remove cmake moduleThomas Ingleby
Favour CMAKE_SYSTEM_PROCESSOR for detecting target arch Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2018-06-26Platform_extender: FT4222 library refactorNoel Eck
Updates to make the FT4222 platform extender more usable. Previous implementation opened libft4222.so and loaded symbols as needed. This implementation removes dynamic loading of libft4222 in favor of creating a new shared libary which links against libft4222.so. The dynamic loading is now done in mraa.c. One C method is exposed in libmraa-platform-ft4222.so for finding/initializing an FT4222: mraa_platform_t mraa_usb_platform_extender(mraa_board_t* board); Mraa.c attempts to open this platform library and calls the mraa_usb_platform_extender method. If an ftdi4222 is connected, the user gets added IO from the extender. If no FT4222 device is connected, continue as normal. * Create a new platform library for the FT4222 * Expose only 1 C method from the library - mraa_usb_platform_extender * libmraa-platform-ft4222.so contains CXX code (as well as previous C code). All *allocs have been removed in favor of global C++ stl containers. * Previously, the FT4222 would only initialize correctly if 2 ftdi devices existed. Now, initialize FT4222 devices based on the device id. * Many fixes for various problems with the FT4222 * Added unit test for platform extender (minimal functionality w/o hw) * Updated to FindFtd4222.cmake module to handle standard arguments * Removed CMAKE_C_FLAGS addition of -DFTDID2XX and -DFTDI4222 since these are NOT used anywhere in source. * Building the FTDI4222 shim requires libft4222.h which requires ftd2xx.h. Updated CMakeLists.txt to require both when building the shim. Signed-off-by: Noel Eck <noel.eck@intel.com>
2018-03-05cmake: Remove all cpack options including IPK generationBrendan Le Foll
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2018-02-06FindNodejs: extend search path to detect ubuntu provided nodejsMihai Tudor Panu
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2018-02-06FindNodejs: Updated to find node<version>Noel Eck
Updates to the FindNodejs.cmake module to find newer installs of nodejs across other distros. For example openSUSE: /usr/include/node6/node.h * Added PATH_SUFFIX to find_path for node.h. * Standardized usage of message() (added STATUS) * Call find_package_handle_standard_args with version * Reformatted to look uniform. Signed-off-by: Noel Eck <noel.eck@intel.com>
2017-10-05Add support for MIPS-based boards Omega2 and Linkit Smart 7688Serge Vakulenko
Signed-off-by: Serge Vakulenko <vak@besm6.org> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-10-04docs: remove empty lines in tools checking logsNicolas Oliver
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-10-04FindYuidoc.cmake: modify log format of yuidoc versionNicolas Oliver
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-10-04docs: add additional validation for doc tools versionNicolas Oliver
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-09-12FindNodejs.cmake: added search paths for Ubuntu 16.04Alex Tereschenko
Closes #566. Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-07-27CMakeLists: Added json platform options and buildHouman Brinjcargorabi
Signed-off-by: Houman Brinjcargorabi <houman.brinjcargorabi@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-01OpenCVDetectPython.cmake: set minimum python versionsBrendan Le Foll
This fixes compilation when python is not found or only one version of python is found Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-05-26python: Support building of both python2 & python3 bindingsBrendan Le Foll
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22firmata: install node_modules to where cmake guessed node wasBrendan Le Foll
This does now mean that modules won't go to /usr/local with the default prefix but may instead try to install in /usr/lib. However if using nvm they should go to the right place as long as NODE_ROOT_DIR is set correctly. This commit changes NODE_ROOT_DIR to actually refer to the root directory of node rather than the include dir which is what FindNodejs gets Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22imraa: update udev cmake configurationLongwei Su
Signed-off-by: Longwei Su <lsu@ics.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22imraa: add first version of imraa, the mraa initialisation daemonLongwei Su
Imraa allows the automatic flashing and setup of arduino101 subplatforms as well as the initial setup of GPIO/i2c devices Signed-off-by: Longwei Su <lsu@ics.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-01-28nodejs: Fixed cmake bug in v8 and uv detection logicHenry Bruce
Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-01-28nodejs: Updated FindNodejs.cmake so exported variables match package nameHenry Bruce
Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-01-28nodejs: cmake updates to more thoroughly check Node.js configurationHenry Bruce
Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-12-14TargetArch.cmake: Add support to aarch64 based platformsSrinivas Kandagatla
This patch adds support to aarch64 arm 64 bit platforms. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-11-11FindNodejs.cmake: V8_VERSION_MAJOR is being set and MINOR/PATCH where emptyBrendan Le Foll
This has been wrong for a while and probably not the most important but when node.js fails to be detected (typically this means runtime check on node.js has failed which hopefully is rare!) Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-09-08cmake: add FTDI FT4222 supportHenry Bruce
Existing FTDI D2xx support is just for serial comms library but FT4222 needs a different library for i2c operation. Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-09-08cmake: add -DFTDID2xx and use FindFtd2xx.cmakeBrendan Le Foll
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-07-13cmake: add nodejs executable nameJustin Brown
The Debian package names the executable nodejs instead of node Signed-off-by: Justin Brown <justin.m.brown@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-06-23cmake: add path to help find nodejsJustin Brown
Helps locate node-v0.12.4 built from source on Fedora 22 Signed-off-by: Justin Brown <justin.m.brown@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-06-01cmake: add FindYuidoc.cmake moduleBrendan Le Foll
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-03-19nodejs: add infra to detect nodejs versionBrendan Le Foll
This introduces FindNodes.cmake which finds the v8 version and the nodejs interp version and passes the information to SWIG via SWIG_V8_VERSION Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-01-14cmake: make licensing of cmake modules really clearBrendan Le Foll
Cmake modules have varying licensing, to make the distinctions clearer all original licenses have been included and TargetArch.cmake has been explicitly marked as LGPL 2.1 as it is based off work comming from qtbase Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-06-24mraa: rename from maa to mraaThomas Ingleby
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-09cmake: added conflicts and replaces fieldsThomas Ingleby
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-09cmake: updated CPackDeb to use DEB outer compression.Thomas Ingleby
* Additional fields added to CMakeLists Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-04CPackDeb.cmake: update to use opkg-buldBrendan Le Foll
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-06-03maa: add make package using CPack, generates IPKThomas Ingleby
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-05-02sphinx: make python documentation generation use sphinxBrendan Le Foll
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-04-28version.h: add versioning info from gitBrendan Le Foll
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>