celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Broekhuis <a.broekh...@gmail.com>
Subject Re: [jira] [Updated] (CELIX-75) CMake does not install the Deployment Admin bundle
Date Sun, 29 Sep 2013 14:27:41 GMT
Hi all,

I've been working on this a bit and now have 2 options. I'd like to know
what others think.

The first option is to include all the installation stuff in the "bundle"
macro. For example:

bundle(shell SOURCES ... INSTALL HEADERS ..../header.h RESOURCES ..../files)

The following arguments are new:
INSTALL: marks this bundle to be installed.
HEADERS: optional headers to be installed in .../include/celix/bundle_name
RESOURCES: optional resources to be installed in ../share/celix/bundle_name

The second option is a separate macro for all these arguments

install_bundle(shell
    HEADERS
    ..../header.h
    RESOURCES
    ..../files
)

This macro doesn't need an INSTALL option, the use of it marks the bundle
to be install. The other arguments are used the same as above.

Maybe there are some missing arguments, those can easily be added. For now
my question is which one do others on this list like?


2013/9/27 Alexander Broekhuis <a.broekhuis@gmail.com>

> 2013/9/27 Björn Petri <bjoern.petri@sundevil.de>
>
>>
>> Hi All,
>>
>> I just can agree - I think that's quite a nice idea. But ,aybe this could
>> also include the export of all the according public/include header-files?
>> At the moment not all bundles export their header-files by default (e.g.
>> rsa), which makes it difficult to setup a build-infrastructure next to
>> celix.
>>
>
> That should also be possible with the new updates. Any missing files are
> bugs. I'll take a look into it as well. If I have pushed the update and
> there are still missing files, feel free to raise a bug for those.
>
>
> --
> Met vriendelijke groet,
>
> Alexander Broekhuis
>



-- 
Met vriendelijke groet,

Alexander Broekhuis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message