[Cmake] FindKDE.cmake
Andy Cedilnik
andy.cedilnik at kitware.com
Tue May 25 16:05:27 EDT 2004
Hi Alexander,
Could you please submitted a bug/feature request to CMake's bug tracker:
www.cmake.org/Bug?
Thanks.
Andy
On Tue, 2004-05-25 at 11:07, Alexander Neundorf wrote:
> Hi,
>
> attached you can find a first attempt to create a FindKDE.cmake file.
> It features:
>
> the variables:
>
> KDE_INCLUDE_DIR (gives /opt/kde/include)
> KDE_LIB_DIR (gives /opt/kde/lib)
> KDE_VERSION (gives "3.2.1")
> KDE_MAJOR (gives 3)
> KDE_MINOR (gives 2)
> KDE_RELEASE (gives 1)
> KDE_DCOPIDL (gives /opt/kde/bin/dcopidl)
> KDE_DCOPIDL2CPP (gives /opt/kde/bin/dcopidl2cpp)
>
> You can use
> SET(KDE_MIN_VERSION, "3.3.0")
> to make sure that a recent enough version of KDE is found
>
> It also comes with some dcop support:
> SET(MY_APP_SOURCES main.cpp dialog1.cpp)
>
> SET(DCOP_STUFF myinterface1.h myinterface2.h)
>
> ADD_DCOP_SOURCES(DCOP_STUFF MY_APP_SOURCES)
>
> Which will generate all the required rules and dependancies for generating
> the dcop skeletons, add them to MY_APP_SOURCES and link everthing
> together.
>
> What do you think about it ?
> How about adding it to cmake ?
More information about the Cmake
mailing list