doc typo fixes

Change-Id: I2bbb8839577083eb8ce78a0a7f3d499489f61b26
Reviewed-on: http://gerrit.aldebaran.lan:8080/534
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
test_toc: add test for unique sdk dir

Change-Id: I33336e32f9cf6a30779fc47b3e9fd7ac47df804a
Reviewed-on: http://gerrit.aldebaran.lan:8080/535
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>
Add test for using private libs

Change-Id: I83a7f681174f2ef66e637a527c4d6656462ff009
Reviewed-on: http://gerrit.aldebaran.lan:8080/536
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qi_stage_lib : add sanity checks, and add tests for these checks

Change-Id: Ife44a4bf2e9097d37e9f6640343575ec1c385c7e
Reviewed-on: http://gerrit.aldebaran.lan:8080/537
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild/install: support for macosx bundles

Previously, writing something like:
qi_create_bin(foo MACOSX_BUNDLE) will cause CMake to complain
that it does not how to install the bundle.

Change-Id: I4a2d7f23ef72591f14764aa3a0fcffef5d9fe6a1
Reviewed-on: http://gerrit.aldebaran.lan:8080/562
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild/uselib: fix optimization

Previously we used the cache to store wether or not
the call to qi_use_lib was made, but we still
used the full TARGET_DEPENDS list, causing
target_link_libraries to be called too often

Also, avoid calling qi_use_lib from qi_create_bin
when it is not necessary

Also fix relevant test, now that cmake .. does the
same think than qibuild configure

Change-Id: I98dc93237e2e814d3efe0a441fea2a382d250d60
Reviewed-on: http://gerrit.aldebaran.lan:8080/544
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild wizard: fix unsetting build dir or sdk dir

Fix #7213

Change-Id: I8bd9bd1816fd112218e939cbcfa0aeabb2f88f88
Reviewed-on: http://gerrit.aldebaran.lan:8080/571
Reviewed-by: gschweitzer <gschweitzer@aldebaran-robotics.com>
Tested-by: gschweitzer <gschweitzer@aldebaran-robotics.com>
qibuild: support finding qt by just having 'qmake' in %PATH%

Also, use upstream CMake code instead of a ugly copy/paste
of upstream UseQT.cmake file.

Note: we still keep the hacks in case someone is using qt from a
toolchain, where using qmake is not possible

Change-Id: I1c9744cee74f5fd0de866b9759103673b684d2e0
Reviewed-on: http://gerrit.aldebaran.lan:8080/565
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>
update AUTHORS

Change-Id: I613a73e2fdc5c936f964add6c7ff4e57c393b4d2
Reviewed-on: http://gerrit.aldebaran.lan:8080/475
Reviewed-by: llec <llec@aldebaran-robotics.com>
Tested-by: llec <llec@aldebaran-robotics.com>
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
qibuild: fix using a qt package from a cross-toolchain

In a toolchain cmake file, you will often set
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM to BOTH
(for instance to find swig on your host even we compiling)

With the previous patch, you will end up using the paths
reported by the qmake from your system even when cross-compiling,
which is a bad thing

To avoid that, we introduce the QT_USE_QMAKE variable which can
be set to OFF in the toolchain.cmake file.

Change-Id: Ie24c805b3a1f9559cf4d741b6e5fc5aea5f5a5be
Reviewed-on: http://gerrit.aldebaran.lan:8080/593
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
remove -Wunused-parameter

Change-Id: I9ab42191323b48a12b2d53b2abc95e754b6dfae1
Reviewed-on: http://gerrit.aldebaran.lan:8080/609
Reviewed-by: llec <llec@aldebaran-robotics.com>
Tested-by: llec <llec@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qi_append_uniq_global: support list as arguments

Change-Id: I172acbc35838d2559a9127d0b63ea99ae82e9624
Reviewed-on: http://gerrit.aldebaran.lan:8080/627
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qtutils: export to cache or value are lost!

Change-Id: I3224f05c52d0cdf7113ddb74c2def6755206d2ca
Reviewed-on: http://gerrit.aldebaran.lan:8080/626
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
cmake: fix qt_flib (qtutils.cmake)

Change-Id: Ib254dd0a32964462de3bffd94b24773bfcea7de3
Reviewed-on: http://gerrit.aldebaran.lan:8080/628
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
qibuild/qt: better hack

Stop copy/pasting cmake code, and just use upstream
Qt4Macros.cmake file when available.

Note that we use the save 'clever hack' to find the
Qt4Macros.cmake file even when it does not exist
(for instance on lucid)

Change-Id: Ife5e87f24fa2debcea0fc231d238e71500befcd7
Reviewed-on: http://gerrit.aldebaran.lan:8080/608
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: remove a few traces of qibuild.manifest left

Change-Id: Iaeeca534243591e9c27c6c8d90f418a02ce514e5
Reviewed-on: http://gerrit.aldebaran.lan:8080/610
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
cmake: change the way qi_stage_lib(foo STAGED_NAME bar) works

Previously, qi_use_lib(STAGED_NAME) was just use for retro
compatibility with t001chain/cmake

Now, qi_use_lib(foo STAGED_NAME bar) does what you would expect:
it creates a bar-config.cmake containing the foo dependencies, so
that you can use qi_use_lib(spam bar) later.

Change-Id: I1f2319a80b8bb15e5666a68c7e109f749cad84b7
Reviewed-on: http://gerrit.aldebaran.lan:8080/611
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Fix regression introduced by previous commit

Note: the test still does not pass because
some variables are marked as 'advanced' and
some are not.

Don't care right now ?

Change-Id: I9129cf0530c2069b469e4a9706533a04a49e48b6
Reviewed-on: http://gerrit.aldebaran.lan:8080/637
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
fix qi_stage_header(... DEPENDS)

Change-Id: I4d777066a31eafd315d703eca2c27ebc7b5f4e15
Reviewed-on: http://gerrit.aldebaran.lan:8080/638
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Fix qibuild.test.preserve_cache

Just ignore 'advanced' stuff

Change-Id: Ib3c27bcf7a656ebf0d6b7b57db68b506e9684f10