Noel Eck
69d9c26e6e
pkg_config: Update mraa.pc.cmake to use new install dir
...
LIB_SUFFIX is no longer used. Replaced with LIB_INSTALL_DIR
which provides the correct lib dir with arch suffix.
Moved the call to include(GNUInstallDirs) prior to checking the
CMAKE_INSTALL_LIBDIR - which is set by include(GNUInstallDirs).
Tested with cmake 2.8 and cmake 3.5.
Signed-off-by: Noel Eck <noel.eck@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-04-12 14:18:19 +01:00
Mihai Tudor Panu
62e113ed3f
cmake: use LIB_INSTALL_DIR throughout instead of CMAKE_INSTALL_LIBDIR
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-04-12 14:18:19 +01:00
Thomas Ingleby
a9429204e3
mraa: Update to v0.10.1
...
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com >
2016-03-28 17:11:31 +02:00
Brendan Le Foll
52f9c48bbc
mraa: Update to v0.10.0
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-24 17:01:01 +00:00
Brendan Le Foll
8c0aa5af2c
cmake: disable TGZ from builds when IPK used
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-22 18:42:54 +00:00
Longwei Su
a52ce5d5bb
imraa: add first version of imraa, the mraa initialisation daemon
...
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-03-22 18:12:30 +00:00
Brendan Le Foll
edd554b606
cmake: Fix message handling
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-22 18:12:29 +00:00
Brendan Le Foll
168764481a
cmake: Use correct message modes
...
INFO is not a valid cmake message mode, this commit cleans up a few messages to
use the correct cmake modes
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-22 18:12:29 +00:00
Brendan Le Foll
d8024bb516
mraa: Update to v0.9.6
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-09 14:39:33 +00:00
Brendan Le Foll
a387d5e4d4
mraa: Update to v0.9.5
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-01 17:38:31 +00:00
Brendan Le Foll
00e8f72ef4
mraa: Update to v0.9.4
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-02-22 10:51:55 +00:00
Brendan Le Foll
699d476de1
mraa: Update to v0.9.3
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-02-16 19:02:58 +00:00
Henry Bruce
d2fcb88c4b
cmake: Added INSTALLTOOLS option that installs both mraa-gpio and mraa-i2c
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
2016-02-12 11:25:38 +00:00
Brendan Le Foll
61011df748
mraa: Update to v0.9.2
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-02-11 10:21:28 +00:00
Brendan Le Foll
04f3b93f85
mraa: Update to v0.9.1
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-02-03 15:50:07 +00:00
Eugene Bolshakov
2e5e3eaea2
mraajs: Check for CMAKE version > 3.1 or use workaround
...
Older cmake versions don't support the CXX_STANDARD property. Remove doubled
CMAKE_CXX_FLAGS in mraajs COMPILE_FLAGS
Closes #411
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-24 16:56:41 +00:00
Stefan Andritoiu
c564dad68f
CMakelists: Made tests building rule independent of the python build
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-21 15:28:03 +00:00
Pieterjan Camerlynck
a87a104efe
CMakeLists.txt: do not require a C++ compiler
...
By default, CMake assumes both a C and C++ compiler are required.
This is not needed for mraa because it only provides C++ header
files. Note that if using SWIG you need one and if using node.js 3+ you'll need
a C++11 compiler
Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-06 10:42:40 +00:00
Samuel Martin
86a0e10c03
cmake: build shared libs by default on linux
...
The change allows to build shared libraries by default on Linux, while
respecting the requested library build type when the standard CMake flag
BUILD_SHARED_LIBS is defined.
Signed-off-by: Samuel Martin <s.martin49@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-06 10:18:19 +00:00
Brendan Le Foll
d430b5c2b5
mraa: Update to v0.9.0
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-04 11:50:51 +00:00
Brendan Le Foll
2dd94cda3b
cmake: enable settign of MRAAPLATFORMFORCE to reduce libmraa.so size
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-03 12:20:15 +00:00
Thomas Ingleby
049ba5fa9f
mraa: update to version 0.8.1
...
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com >
2015-11-02 11:48:31 +01:00
Kevron Rees
937a38c4ac
cmake: use cmake libdir instead of making our own
...
Signed-off-by: Kevron Rees <kevron.m.rees@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-10-30 12:04:58 +00:00
xbolshe
3059c06fa0
javascript: Add nodejs 4.1.1 support
...
API changes in V8 API mean that node.js 4 needs some changes both in mraajs.i
but also require a C++11 compiler
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-10-03 17:36:54 +01:00
Brendan Le Foll
70600dece4
mraa: update to version 0.8.0
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-22 16:57:29 +01:00
Brendan Le Foll
eae2b58cbe
java: Add java doxygen files
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-22 16:39:48 +01:00
Brendan Le Foll
a49d8d6d12
cmake: remove FTDI D2xx flag
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:04 +01:00
Henry Bruce
c84cd4328a
cmake: Disable USB sub-platform support by default
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:04 +01:00
Henry Bruce
30cf8ec560
cmake: Set install prefix to /usr for RPM packaging
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:03 +01:00
Henry Bruce
1c9b87bfd3
cmake: add FTDI FT4222 support
...
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-08 14:42:03 +01:00
Brendan Le Foll
e353508e30
cmake: add -DFTDID2xx and use FindFtd2xx.cmake
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:03 +01:00
Henry Bruce
8f48df0533
usb: Skeleton platform code for FTDI FT4222 USB to i2c bridge
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:03 +01:00
Brendan Le Foll
22a930e39e
mraa: update to version 0.7.5
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-07 10:58:02 +01:00
Brendan Le Foll
ba348a2da4
mraa: update to version 0.7.4
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-02 16:05:05 +01:00
Brendan Le Foll
af533deffe
cmake: mraa cpack package name does not need major version appended
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-08-24 18:05:48 +01:00
Brendan Le Foll
d547cda05b
cmake: mraa cpack package does not have debian naming anymore
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-08-24 11:27:29 +01:00
Brendan Le Foll
8390c5cfb7
cmake: add option to disable example building
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-08-14 14:35:39 +01:00
Brendan Le Foll
7a2408766c
mraa: update to version 0.7.3
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-08 11:38:15 +01:00
Thomas Ingleby
a06757b62b
cmake: if BUILDSWIG is OFF then disable SWIG items
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-06-18 19:39:59 +01:00
Brendan Le Foll
a44c5851cc
cmake: fix version when git is pesent but no tree is found
...
This avoids the version being .so.HEAD-HASH-NOTFOUND or similar when git is
present on the target but a valid tree is not found
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-06-16 11:12:17 +01:00
Brendan Le Foll
299bf5ab27
mraa: update to version 0.7.2
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-06-03 14:51:13 +01:00
Brendan Le Foll
06085589d8
mraa: update to version 0.7.1
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-06-02 16:09:03 +01:00
Brendan Le Foll
8493ed4239
mraa: update to version 0.7.0
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-05-29 14:56:50 +01:00
Henry Bruce
38acfe6d30
CMakeLists.txt: Added RPM packaging support for cpack
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-05-26 14:44:52 +01:00
Alexander Komarov
4302f0d0c3
java: Added Java SWIG binding creation
...
%init directive is not supported in java so move %init to js/py interface files
Signed-off-by: Alexander Komarov <alexander.komarov@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-24 12:12:11 +01:00
Thomas Ingleby
a17e8dbd21
mraa: update to version 0.6.2
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-04-14 15:18:11 +01:00
Brendan Le Foll
4599f3c12a
tests: add cmake ctest infrastructure so make test can run
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-07 23:52:39 +01:00
Thomas Ingleby
874d69e9e5
Cmake: add override BUILDARCH for selecting arch
...
Stops TargetArch module for running and finding the arch
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-03-31 16:34:41 +01:00
Henry Bruce
a1c5bd8742
CMakeLists.txt: Added option to install mraa-gpio tool
...
This commit renames gpio.c to mraa-gpio.c to make installation in bin/ less
annoying
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-31 13:56:29 +01:00
Henry Bruce
2b8b28171b
CMakeLists.txt: Set correct package architecture for deb and ipk.
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-31 13:56:29 +01:00