cmake just for digikam-sc/extra?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

cmake just for digikam-sc/extra?

sean darcy
Using git I get a folder structure of

           digikam-sc
                |
                |
   -----------------------------------------------
   |             |                 |
core          extra             others

Sometimes I'd like to build just the libs in extra first, to deal with
the dependencies in core on the extra libs.

Usually I run cmake/make in digikam-sc. That works (unless I run into
dependency issues).

But if I run cmake/make in extra, cmake generates a bundle of errors,
mostly doing with incorrect paths. For instance:

  CMake error when trying to open file:
/home/photo/rpmbuild/BUILD/digikam-sc/extra/x86_64-redhat-linux-gnu/libs/libkgeomap/libkgeomap/version.h

instead of
/home/photo/rpmbuild/BUILD/digikam-sc/extra/x86_64-redhat-linux-gnu/libkgeomap/libkgeomap

I have no cmake mojo. Does anyone have a script that builds the extra libs?

sean

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: cmake just for digikam-sc/extra?

Francesco Riosa
In data domenica 12 febbraio 2012 01:19:40, sean darcy ha scritto:

> Using git I get a folder structure of
>
>            digikam-sc
>
>
>    -----------------------------------------------
>
> core          extra             others
>
> Sometimes I'd like to build just the libs in extra first, to deal with
> the dependencies in core on the extra libs.
>
> Usually I run cmake/make in digikam-sc. That works (unless I run into
> dependency issues).
>
> But if I run cmake/make in extra, cmake generates a bundle of errors,
> mostly doing with incorrect paths. For instance:

Those are each meant to be installed alone if needed, you can for example do:
mkdir ./extra/kipi-plugins/build
cd ./extra/kipi-plugins/build
cmake ${options} ..
make
make install

>
>   CMake error when trying to open file:
> /home/photo/rpmbuild/BUILD/digikam-sc/extra/x86_64-redhat-linux-gnu/libs/li
> bkgeomap/libkgeomap/version.h
>
> instead of
> /home/photo/rpmbuild/BUILD/digikam-sc/extra/x86_64-redhat-linux-gnu/libkgeo
> map/libkgeomap
>
> I have no cmake mojo. Does anyone have a script that builds the extra libs?
>
> sean
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel