qi_sanitise_compile_flags: remove -Wextra (we are not martians)

Change-Id: Iea8312fd70f8dfc1425aca2b24b510e4e380bc67
git: get_tracking_branch, branch not always start by refs/heads

Change-Id: I118ab19039f431cc3a38465f3da52dadb2a46530
Reviewed-on: http://gerrit.aldebaran.lan:8080/683
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
update README

Use rst to have nicer display on github.
Make it clear that install scripts are not meant for packaging
Fix argparse license
Make it clear that qibuild is open source

Adapted from sseering's fork

Change-Id: Ice6cc6ab36d40331995b565a03815a07d6241a46
Reviewed-on: http://gerrit.aldebaran.lan:8080/689
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild: version 1.14

Change-Id: I1e1c1681352b311c192f437699e03b4c05b78e9f
Fix qibuild packaging

Main CMakeLists:

* Add option WITH_DOCS to make it easy to NOT try to build qibuild doc
* Look for sphinx-build2 for it to work on Arch (custom cmake domain
  is for python2 only)

* fix setup.py

Change-Id: Ie57b652d2f95a89c8fb09c23508c397993906d4d
Reviewed-on: http://gerrit.aldebaran.lan:8080/687
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild.dylibs: do not try to use otool to create dylibs symlink

Just blindly create symlinks to every framework and dylibs we
may find.

(This approach is already used on windows and works fine)

Fix #7506

Change-Id: I8dfb9f8c861a4cac3d2a0a2d5fce24a9829e5319
Reviewed-on: http://gerrit.aldebaran.lan:8080/688
Reviewed-by: pdepas <pdepas@aldebaran-robotics.com>
Tested-by: pdepas <pdepas@aldebaran-robotics.com>
doc: fix build_dir example

Change-Id: Ifd40871a359d9e841a2162478977888873b124d8
Reviewed-on: http://gerrit.aldebaran.lan:8080/702
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
doc: typos

Change-Id: I382b5abe5ae27a865778da664e4677a8c67adb38
Reviewed-on: http://gerrit.aldebaran.lan:8080/704
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
remove occurences of include(qibuild.cmake)

There are still some in doc/source/design/cmake/searching.rst

Change-Id: Iaf21eeaff8f46394d848c80da2e4626c39eeba2e
Reviewed-on: http://gerrit.aldebaran.lan:8080/703
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild.dylibs: small bug fix on mac.

Do not assume sdk_dir exists after building.
(It may happen if you project only contains insall rules for data,
for instance)

Change-Id: I5c29821dea0ad9ae8f72b2261dc5b9abf72628cc
Reviewed-on: http://gerrit.aldebaran.lan:8080/706
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild test: small bug fix for --test-name

Change-Id: I3415ed747dd47e648077392fe5fbe9e43ecb767f
Reviewed-on: http://gerrit.aldebaran.lan:8080/712
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
libevent: depends on rt only on linux

Change-Id: I004076dc52294af5b980ed944738fef794da03bf
Reviewed-on: http://gerrit.aldebaran.lan:8080/713
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
oups, fix previous commit

Change-Id: I392d670c8d0fc7a035e080b6ac66d54cefc31059
qibuild open: cosmetic change

Change-Id: Ic7d8e83b1f5a9d91e2b251ed232d42e3ec1fbb5f
qi_stage_lib: allow adding custom_code

Change-Id: I09c26c2fb8225866369eccbf13eb5f19eb1af6c8
Reviewed-on: http://gerrit.aldebaran.lan:8080/728
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
implements qi_stage_bin

And add a test for qi_stage_bin, using
a tool from an other project at install

Change-Id: I12bf84a5cc6dc7219c0bf75691a6333869257872
Reviewed-on: http://gerrit.aldebaran.lan:8080/741
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild/target: get rid of 'STAGE' args for qi_create_* functions

Change-Id: I16a2e55ac56ef84aedab5a3a48d527fa79061e03
Reviewed-on: http://gerrit.aldebaran.lan:8080/745
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Fix case to use Xcode on macOS with qibuild open

Change-Id: I23462992b4a49a222d73084b101b6851bccc3fdb
Reviewed-on: http://gerrit.aldebaran.lan:8080/802
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Fix missing search of rcc

Change-Id: Ie30071bf4dbdb77b4fa0763905546a89ca5f5b1d
Reviewed-on: http://gerrit.aldebaran.lan:8080/803
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Fix qiproject.xml template

Change-Id: I1215e8ccf4dcff9034c93f4156a91084dc8ff972