Wireshark-dev: Re: [Wireshark-dev] Building custom dissectors in a private subdirctorry is brok

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Wed, 22 Nov 2017 14:22:10 +0000
Hi,
That did the trick. Thanks.
/Anders

-----Original Message-----
From: Wireshark-dev [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of João Valverde
Sent: den 22 november 2017 14:30
To: wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] Building custom dissectors in a private subdirctorry is broken as the don't get rehistered



On 22-11-2017 13:27, João Valverde wrote:
> Also, try adding ${CMAKE_CURRENT_BUILD_DIR} to your 
> CMakeListCustom.txt file.

${CMAKE_CURRENT_BINARY_DIR} in fact. I would look into that, depending on how it's built.

> On 22-11-2017 13:25, João Valverde wrote:
>> Hi Anders,
>>
>> I didn't test it as I don't use that and I'll have to investigate it....
>>
>> Thanks for your patience.
>>
>> On 22-11-2017 13:13, Anders Broman wrote:
>>> Hi,
>>>
>>> I have my built in dissectors in epan/dissectors/ericsson , they no 
>>> longer get registered…
>>>
>>>  From CMakeListCustom.txt
>>>
>>> set(CUSTOM_DISSECTOR_SRC
>>>
>>>              ericsson/packet-a2.c
>>>
>>> :
>>>
>>> Regards
>>>
>>> Anders
>>>
>>>
>>>
>>> ____________________________________________________________________
>>> _______
>>>
>>> Sent via:    Wireshark-dev mailing list 
>>> <wireshark-dev@xxxxxxxxxxxxx>
>>> Archives:    https://www.wireshark.org/lists/wireshark-dev
>>> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>>
>> _____________________________________________________________________
>> ______
>>
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives:    https://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>>              
>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
> ______________________________________________________________________
> _____ Sent via:    Wireshark-dev mailing list 
> <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe