Hi,
The orocreate-pkg script generates a orocos-myproject.pc.in file, that
was formerly used by the Orocos macros to generate and install the .pc
file of my project.
Now, the .pc file is completely generated from the
orocos_generate_package macro, without using this .pc.in file.
Hence, I have no way to custom my .pc file, as the .in template is not
used anymore by any macro of the UseOrocos.cmake.
Why the .pc.in file is not used anymore? Is it not possible to revert to
generating the .pc file from the .pc.in file?
Best,
Charles.
orocos_generate_package macro and .pc file
On Tue, Jun 7, 2011 at 7:21 PM, Charles Lesire-Cabaniols
<Charles [dot] Lesire [..] ...> wrote:
> Hi,
>
> The orocreate-pkg script generates a orocos-myproject.pc.in file, that
> was formerly used by the Orocos macros to generate and install the .pc
> file of my project.
>
> Now, the .pc file is completely generated from the
> orocos_generate_package macro, without using this .pc.in file.
That's the whole point of using that macro.
>
> Hence, I have no way to custom my .pc file, as the .in template is not
> used anymore by any macro of the UseOrocos.cmake.
Could you give an example of customization you require ?
>
> Why the .pc.in file is not used anymore? Is it not possible to revert to
> generating the .pc file from the .pc.in file?
Simply don't use that macro and proceed the old way, ie use
configure_file to generate the .pc file from the .pc.in file.
I was planning to remove the .in file since it was no longer used...
Peter
orocos_generate_package macro and .pc file
On 07/06/2011 21:33, Peter Soetens wrote:
> On Tue, Jun 7, 2011 at 7:21 PM, Charles Lesire-Cabaniols
> <Charles [dot] Lesire [..] ...> wrote:
>> Hi,
>>
>> The orocreate-pkg script generates a orocos-myproject.pc.in file, that
>> was formerly used by the Orocos macros to generate and install the .pc
>> file of my project.
>>
>> Now, the .pc file is completely generated from the
>> orocos_generate_package macro, without using this .pc.in file.
> That's the whole point of using that macro.
>
>> Hence, I have no way to custom my .pc file, as the .in template is not
>> used anymore by any macro of the UseOrocos.cmake.
> Could you give an example of customization you require ?
I need to add some 3rd-party libraries to the Libs flags.
>> Why the .pc.in file is not used anymore? Is it not possible to revert to
>> generating the .pc file from the .pc.in file?
> Simply don't use that macro and proceed the old way, ie use
> configure_file to generate the .pc file from the .pc.in file.
>
> I was planning to remove the .in file since it was no longer used...
This is a good idea, as the presence of the file is confusing...
> Peter