Re: [yocto] googletest shared library

2021-09-29 Thread Lijun Chen
rico Pellegrin Sent: Thursday, September 23, 2021 10:10:55 PM To: Lijun Chen Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] googletest shared library Hi, Regarding the INSANE_SKIP: as that files get packed in the "-dev" package, you should probably then accordingly have: INSANE_SKIP_

Re: [yocto] googletest shared library

2021-09-23 Thread Federico Pellegrin
gt; /usr/local/include/gmock/internal/custom/README.md > Please set FILES such that these items are packaged. Alternatively if they > are unneeded, avoid installing them or delete them within do_install. > googletest: 69 installed and not shipped files. [installed-vs-shipped] > E

Re: [yocto] googletest shared library

2021-09-23 Thread Khem Raj
alf > of Lijun Chen > Sent: Wednesday, September 22, 2021 1:45 PM > To: Khem Raj; yocto@lists.yoctoproject.org > Subject: Re: [yocto] googletest shared library > > > Tried adding googletest to TOOLCHAIN_TARGET_TASK. The gtest .h files are > still not showing up. > > Thanks, &g

Re: [yocto] googletest shared library

2021-09-23 Thread Lijun Chen
: Thursday, September 23, 2021 10:27:39 AM To: Lijun Chen Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] googletest shared library Hi, To skip the QA you can use: INSANE_SKIP_${PN} += "dev-elf" (or any QA part you'd like to skip, ie. dev-elf or dev-so ...) Cheers, Federico

Re: [yocto] googletest shared library

2021-09-23 Thread Federico Pellegrin
on > behalf of Lijun Chen > *Sent:* Wednesday, September 22, 2021 1:45 PM > *To:* Khem Raj; yocto@lists.yoctoproject.org > *Subject:* Re: [yocto] googletest shared library > > > Tried adding googletest to TOOLCHAIN_TARGET_TASK. The gtest .h files are > still not showi

Re: [yocto] googletest shared library

2021-09-23 Thread Lijun Chen
Wednesday, September 22, 2021 1:45 PM To: Khem Raj; yocto@lists.yoctoproject.org Subject: Re: [yocto] googletest shared library Tried adding googletest to TOOLCHAIN_TARGET_TASK. The gtest .h files are still not showing up. Thanks, From: Khem Raj Sent: Wednesday

Re: [yocto] googletest shared library

2021-09-22 Thread Lijun Chen
Tried adding googletest to TOOLCHAIN_TARGET_TASK. The gtest .h files are still not showing up. Thanks, From: Khem Raj Sent: Wednesday, September 22, 2021 11:28:05 AM To: Lijun Chen; yocto@lists.yoctoproject.org Subject: Re: [yocto] googletest shared library

Re: [yocto] googletest shared library

2021-09-22 Thread Khem Raj
-- *From:* yocto@lists.yoctoproject.org on behalf of Lijun Chen *Sent:* Tuesday, September 21, 2021 3:50 PM *To:* Konrad Weihmann; yocto@lists.yoctoproject.org *Subject:* Re: [yocto] googletest shared library Thanks

Re: [yocto] googletest shared library

2021-09-22 Thread Lijun Chen
that? SOLIBS = ".so" FILES_SOLIBSDEV = "" Thanks, Lijun From: yocto@lists.yoctoproject.org on behalf of Lijun Chen Sent: Tuesday, September 21, 2021 3:50 PM To: Konrad Weihmann; yocto@lists.yoctoproject.org Subject: Re: [yocto] googletest sha

Re: [yocto] googletest shared library

2021-09-21 Thread Lijun Chen
Thanks Konrad. That worked. From: Konrad Weihmann Sent: Tuesday, September 21, 2021 10:26:19 AM To: Lijun Chen; yocto@lists.yoctoproject.org Subject: Re: [yocto] googletest shared library On 21.09.21 16:18, Lijun Chen wrote: > Hi, > > I would like t

Re: [yocto] googletest shared library

2021-09-21 Thread Konrad Weihmann
On 21.09.21 16:18, Lijun Chen wrote: Hi, I would like to include libgtest.so into my Yocto image. I added googletest to IMAGE_INSTALL and added the following line to sources/meta-openembedded/meta-oe/recipes-test/googletest/googletest_git.bb: EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON " The

[yocto] googletest shared library

2021-09-21 Thread Lijun Chen
Hi, I would like to include libgtest.so into my Yocto image. I added googletest to IMAGE_INSTALL and added the following line to sources/meta-openembedded/meta-oe/recipes-test/googletest/googletest_git.bb: EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON " The shared libraries were built