[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdeutils/okteta/kasten/controllers
From:       Casper van Donderen <casper.vandonderen () gmail ! com>
Date:       2009-08-11 8:11:30
Message-ID: ef855e650908110111vcd35d8dre44704fe24dc7a31 () mail ! gmail ! com
[Download RAW message or body]

Hi Friedrich,

You actually give the answer yourself already. In the CMakeLists.txt
it says the following:
kde4_add_library( kastencontrollers SHARED ${kastencontroller_LIB_SRCS} )

where the library name is 'kastencontrollers' so in the export file it
has to be MAKE_KASTENCONTROLLERS_LIB. There were 2 options for me to
fix it, either rename the lib in the CMakeLists or change the export
variable in kastencontroller_export.h.

Because I do not know how often this lib is linked I decided it was
easier to change the var in the _export.h file!

Regards,

Casper

On Tue, Aug 11, 2009 at 9:52 AM, Friedrich W. H.
Kossebau<kossebau@kde.org> wrote:
> Hi Casper,
>
> Lundi, le 10 août 2009, à 20:01, Casper van Donderen a écrit:
>> SVN commit 1009717 by cvandonderen:
>>
>> Fix export for Windows compilation.
>>
>>
>>  M  +1 -1      oktetakastencontroller_export.h
>>
>>
>> ---
>> trunk/KDE/kdeutils/okteta/kasten/controllers/oktetakastencontroller_export.
>>h #1009716:1009717 @@ -29,7 +29,7 @@
>>
>>  #ifndef OKTETAKASTENCONTROLLER_EXPORT
>>    // building the library?
>> -# if defined(MAKE_OKTETAKASTENCONTROLLER_LIB)
>> +# if defined(MAKE_OKTETAKASTENCONTROLLERS_LIB)
>>  #  define OKTETAKASTENCONTROLLER_EXPORT KDE_EXPORT
>>    // using the library
>>  # else
>
> Just in case I create another lib in the future:
> How is the rule to build the MAKE_NameofLib_LIB variable correctly?
>
> Cheers
> Friedrich
> --
> Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic