Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@dawagner
Copy link
Contributor

contains #362.

@@            master    #363   diff @@
======================================
Files          211     211
Stmts         7169    7169
Branches         0       0
Methods          0       0
======================================
Hit           5760    5760
Partial          0       0
Missed        1409    1409

Review entire Coverage Diff as of 1e302cf

Powered by Codecov. Updated on successful CI builds.

  

It isn't supposed to be used by anyone (client or plugin).

Signed-off-by: David Wagner <[email protected]>
On UNIX systems, headers used to be spread across 3 directories under the
include dir, leading to, for instance, installing a "/usr/include/utility"
directory...

They are now all under a single subdir: <prefix>/include/parameter.

Signed-off-by: David Wagner <[email protected]>
…dirs

We used to manually add them for almost all targets. Having CMake do it
automatically simplifies the makefiles.

Signed-off-by: David Wagner <[email protected]>
The functional tests rely on at least one libpfw_utility-provided feature: the
BinaryCopy class. Therefore, it must explicitly link against it.

Signed-off-by: David Wagner <[email protected]>
A Package Configuration file lets other CMake projects easily use our own
installed project, simply by calling find_package(ParameterFramework).

There is a known bug in CMake 3.2's find_dependency macro; this is worked
around by shipping a patched copy of this macro. See
https://cmake.org/Bug/view.php?id=15412.

Known issue: because of dependency leakage, the xmlserializer and pfw_utility
static libraries are exported even though they are not supposed to be used by
anyone.

The related CMake documentation can be found at
https://cmake.org/cmake/help/v3.2/manual/cmake-packages.7.html#package-configuration-file

Signed-off-by: David Wagner <[email protected]>
Instead of linking against ParameterFramework::parameter, plugins may now link
against ParameterFramework::plugin. This has the added value of preventing the
installation of libxmlserializer.a and libpfw_utility.a.

Signed-off-by: David Wagner <[email protected]>
@codecov-io
Copy link

Current coverage is 80.34%

Merging #363 into master will not affect coverage as of 1e302cf

@@            master    #363   diff @@
======================================
  Files          211     211       
  Stmts         7169    7169       
  Branches         0       0       
  Methods          0       0       
======================================
  Hit           5760    5760       
  Partial          0       0       
  Missed        1409    1409       

Review entire Coverage Diff as of 1e302cf

Powered by Codecov. Updated on successful CI builds.

@dawagner dawagner closed this Mar 24, 2016
@dawagner dawagner deleted the export-cmake-plugin-interface branch March 24, 2016 10:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants