<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/cmake.bbclass, branch 1.3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2012-06-11T12:49:51+00:00</updated>
<entry>
<title>cmake.bbclass: Add OECMAKE_C_LINK_FLAGS and OECMAKE_CXX_LINK_FLAGS variables</title>
<updated>2012-06-11T12:49:51+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2012-06-07T01:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=429004f6a583a593ef50841eda96f7c72c80d79b'/>
<id>urn:sha1:429004f6a583a593ef50841eda96f7c72c80d79b</id>
<content type='text'>
In some cases we need to specify linker flags and right
now we do not have a way to communicate that to cmake
based systems. cmake defines CMAKE_C_LINK_FLAGS and CMAKE_CXX_LINK_FLAGS
for these needs. This patch therefore defines two local variables
namely OECMAKE_C_LINK_FLAGS and OECMAKE_CXX_LINK_FLAGS which
can be altered by recipes to tweak linker flags

(From OE-Core rev: 9e00a74749ba8e1cf0d15efe8e16af60b189e080)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH</title>
<updated>2012-03-13T11:45:02+00:00</updated>
<author>
<name>Nitin A Kamble</name>
<email>nitin.a.kamble@intel.com</email>
</author>
<published>2012-03-12T16:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=520668862af11d31e65b098f12cc69f3ceca585e'/>
<id>urn:sha1:520668862af11d31e65b098f12cc69f3ceca585e</id>
<content type='text'>
Some libraries like libcrypto.so are installed at base_libdir
instead of libdir. So add the base_libdir to CMAKE_LIBRARY_PATH
so that these libraries can be found correctly.

This resolves an issues with libzypp, which was not finding the
libcrypo library correctly in an x32 build.

(From OE-Core rev: f47ada62a3da879006e7cb27479dc9b72c56e923)

Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Add EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH</title>
<updated>2012-02-03T16:33:21+00:00</updated>
<author>
<name>Ken Werner</name>
<email>ken.werner@linaro.org</email>
</author>
<published>2011-12-14T22:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4be9d8259678be81ae4246a8c162a816c29fb1dd'/>
<id>urn:sha1:4be9d8259678be81ae4246a8c162a816c29fb1dd</id>
<content type='text'>
This allows cmake to find the binaries of an external toolchain.

(From OE-Core rev: 7b355ad09a622cfe57c66674ed1affd61c4d872e)

Signed-off-by: Ken Werner &lt;ken.werner@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass: adding extendable extra variable to root path</title>
<updated>2011-09-28T20:41:44+00:00</updated>
<author>
<name>Andrew Gabbasov</name>
<email>andrew_gabbasov@mentor.com</email>
</author>
<published>2011-09-28T12:10:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2d59e4d36e508cef04674e763159f718abb48878'/>
<id>urn:sha1:2d59e4d36e508cef04674e763159f718abb48878</id>
<content type='text'>
Introducing a hook variable for various .conf files to add
extra path elements to cmake. For example, it can be used
in external toolchain conf file to add ${TOOLCHAIN_PATH}
to cmake root path search.

(From OE-Core rev: 23be60dad6a705f151520e3eda2da5e02230f5fd)

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native</title>
<updated>2011-08-17T14:14:54+00:00</updated>
<author>
<name>Phil Blundell</name>
<email>philb@gnu.org</email>
</author>
<published>2011-08-15T16:16:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b7937a4f3946c72516f772ea21db28694c558f7b'/>
<id>urn:sha1:b7937a4f3946c72516f772ea21db28694c558f7b</id>
<content type='text'>
When CMake is looking for perl, it only searches in the specific directories
that it's told about and ignores ${PATH}.  If perlnative is in use, ensure
that the appropriate installation path is added to the list of places that
cmake will look for perl, otherwise it won't ever be found.

(From OE-Core rev: add9e4e30e0b1e0f93479b43ce61953efb90985d)

Signed-off-by: Phil Blundell &lt;philb@gnu.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass: add ${libdir} for multilib case</title>
<updated>2011-07-27T14:45:49+00:00</updated>
<author>
<name>Yu Ke</name>
<email>ke.yu@intel.com</email>
</author>
<published>2011-07-24T13:40:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4a75a370fdc2ff3fcd61652b80cf5516b0022415'/>
<id>urn:sha1:4a75a370fdc2ff3fcd61652b80cf5516b0022415</id>
<content type='text'>
    (From OE-Core rev: e198b72bc03c7545417944dcb3c930aaf2376488)

Signed-off-by: Yu Ke &lt;ke.yu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sat-solver: fix for non /usr/lib libdir case</title>
<updated>2011-07-13T11:14:20+00:00</updated>
<author>
<name>Yu Ke</name>
<email>ke.yu@intel.com</email>
</author>
<published>2011-07-13T08:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4e01f730bf1840d43ae7f95bbf51d85d7d030493'/>
<id>urn:sha1:4e01f730bf1840d43ae7f95bbf51d85d7d030493</id>
<content type='text'>
when libdir set to non /usr/lib like /usr/lib64, there is do_configure error:
"
-- Libraries will be installed in /usr/lib
CMake Error at /home/kyu3/sdb/lib64/tmp/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91  (MESSAGE):
  Please install 'check' and 'check-devel' packages (missing: CHECK_LIBRARY)
Call Stack (most recent call first):
  /home/kyu3/sdb/lib64/tmp/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252              (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindCheck.cmake:17 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:35 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
"

The reason is that cmake did not search /usr/lib64 for libcheck, thus report error

add ${libdir} to the CMAKE_SYSTEM_LIBRARY_PATH can fix this issue.

(From OE-Core rev: f4de87ce30a37bb2f09855d442b34d153ada8c0e)

Signed-off-by: Yu Ke &lt;ke.yu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass: use CPPFLAGS and CXXFLAGS</title>
<updated>2011-07-08T15:39:11+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2011-07-08T13:47:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=21f13144952c9558fae63b4952ef402f8d4899dc'/>
<id>urn:sha1:21f13144952c9558fae63b4952ef402f8d4899dc</id>
<content type='text'>
Some classes, as for example nativesdk, defines CPPFLAGS and CXXFLAGS
to be passed to compiler. Using those makes more sense and avoid some
hacks on packages using CMake.

(From OE-Core rev: de60d1d91b28c3f5568b132a8eb29d9a754e68a0)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass: fix qmake and rpath issues</title>
<updated>2011-05-11T15:41:52+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2011-05-08T17:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c272d93c68cf40de300f9bf4b51eae5116178e2'/>
<id>urn:sha1:9c272d93c68cf40de300f9bf4b51eae5116178e2</id>
<content type='text'>
Sync with OE at 3b7d83362027fde4f6850533ab83277d95dda961 however
without changing the way of generating the toolchain file and making
it branding agnostic.

(From OE-Core rev: ee98c2b095b991901b6c2125b2428985c873b4bd)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass: sync from openembedded</title>
<updated>2010-08-31T16:19:53+00:00</updated>
<author>
<name>Qing He</name>
<email>qing.he@intel.com</email>
</author>
<published>2010-08-20T02:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=be291999defd665ca2e9223f1c1dc765f72eef48'/>
<id>urn:sha1:be291999defd665ca2e9223f1c1dc765f72eef48</id>
<content type='text'>
this fixes:
  - toolchain detection error (e.g. ar and ranlib)

changes from openembedded:
  - reformatting
  - cmake modules search path
  - use 'cat &lt;&lt;EOF' instead of echos for clarity

Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
</content>
</entry>
</feed>
