Re: examples of gtest done right in Debian

2015-08-06 Thread Jose Luis Rivero
On 08/05/2015 09:27 PM, Anton Gladky wrote: > 2015-08-05 20:18 GMT+02:00 Jochen Sprickerhof > >: > > We have a FindGtest.cmake module in PCL, maybe that would be interesting > for Gazebo as well: > > > https://github.com/PointCloudLibrary

Re: examples of gtest done right in Debian

2015-08-05 Thread Anton Gladky
2015-08-05 20:18 GMT+02:00 Jochen Sprickerhof < debian-scie...@jochen.sprickerhof.de>: > > We have a FindGtest.cmake module in PCL, maybe that would be interesting > for Gazebo as well: > > > https://github.com/PointCloudLibrary/pcl/blob/master/cmake/Modules/FindGtest.cmake Thanks Jochen, there

Re: examples of gtest done right in Debian

2015-08-05 Thread Jochen Sprickerhof
Hi Anton and Jose, * Anton Gladky [2015-08-05 11:15]: > gazebo was fixed recently to use a system-installed > gtest [1]. > > [1] > http://anonscm.debian.org/cgit/debian-science/packages/gazebo.git/tree/debian/patches/0002_use_system_gtest.patch We have a FindGtest.cmake module in PCL, maybe tha

Re: examples of gtest done right in Debian

2015-08-05 Thread Jose Luis Rivero
Hi Ghislain: On 08/05/2015 01:30 PM, Ghislain Vaillant wrote: > Hi Anton, > > That sounds like a good example, although not exactly what I had in mind. > > Please correct me if I am wrong but I am assuming from this patch that > gazebo was compiling gtest from a vendorized copy? Right. > The

Re: examples of gtest done right in Debian

2015-08-05 Thread Ghislain Vaillant
Hi Anton, That sounds like a good example, although not exactly what I had in mind. Please correct me if I am wrong but I am assuming from this patch that gazebo was compiling gtest from a vendorized copy? The patch then consists in pointing gazebo to a different location for the gtest source

Re: examples of gtest done right in Debian

2015-08-05 Thread Anton Gladky
Hi Ghislain, gazebo was fixed recently to use a system-installed gtest [1]. [1] http://anonscm.debian.org/cgit/debian-science/packages/gazebo.git/tree/debian/patches/0002_use_system_gtest.patch Cheers Anton 2015-08-05 11:12 GMT+02:00 Ghislain Vaillant : > Hi everyone, > > I am currently deal

examples of gtest done right in Debian

2015-08-05 Thread Ghislain Vaillant
Hi everyone, I am currently dealing with a few upstream projects which rely on gtest for building their test suite in cmake. Unfortunately, and unlike upstream recommendation to *not* rely precompiled binaries of gtest [1], upstream uses find_package(gtest) and links its test suite with the