[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: krita-plugins and cmake
From: "Schleimer, Ben" <bensch128 () yahoo ! com>
Date: 2007-03-20 1:23:29
Message-ID: 989210.87647.qm () web32011 ! mail ! mud ! yahoo ! com
[Download RAW message or body]
Hey Cyrille,
1) Did you change krita/core to install kis_paint_layer.h, kis_layer_visitor.h, etc.
Otherwise, I'm confused how it can find the include files.
2) For those us who can't/don't want to install koffice-svn to /usr/local, I experimented around
with adding a line in cmake/modules/FindKrita.cmake. See the attached patch.
To use, do something like: export KRITA_INC=$HOME/work/koffice/krita
before cmake'ing.
Cheers
Ben
--- Cyrille Berger <cberger@cberger.net> wrote:
> Hi there,
>
> I have nearly completed the switch to cmake, only the configure check for gmm
> and the CMakeLists.txt for ImageComplete is missing, I will do that tomorrow.
> Now all I need is some people to check that I have done everything
> correctly ? Then we can get ride of autosuxx \o/
>
> --
> Cyrille Berger
> _______________________________________________
> kimageshop mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
["krita-plugins.cmake2007-03-20.patch" (application/octet-stream)]
Index: cmake/modules/FindKrita.cmake
===================================================================
--- cmake/modules/FindKrita.cmake (revision 644457)
+++ cmake/modules/FindKrita.cmake (working copy)
@@ -37,6 +37,7 @@
${KDE3_INCLUDE_DIRS}
/usr/include
/usr/local/include
+ ENV KRITA_INC
)
# find if there is kis_layer_visitor.h
@@ -47,6 +48,7 @@
${KDE3_INCLUDE_DIRS}
/usr/include
/usr/local/include
+ ENV KRITA_INC
)
# find if there is kis_filter_strategy.h
@@ -57,6 +59,7 @@
${KDE3_INCLUDE_DIRS}
/usr/include
/usr/local/include
+ ENV KRITA_INC
)
# find if there is kis_transform_worker.h
@@ -67,6 +70,8 @@
${KDE3_INCLUDE_DIRS}
/usr/include
/usr/local/include
+ ENV KRITA_INC
)
+INCLUDE_DIRECTORIES( $ENV{KRITA_INC}/core $ENV{KRITA_INC}/ui )
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic