Include FindKDevPlatform.cmake in kdelibs
Andreas Pakulat
apaku at gmx.de
Sat Oct 17 16:20:11 CEST 2009
Hi,
I'd like to move FindKDevPlatform.cmake to kdelibs/cmake/modules so that
it can be used from various modules in trunk/KDE and playground. In
particular all the plugins in
playground/devtools/kdevelop4-extra-plugins need it and its currently
installed together with kdevplatform. That of course is not a good
solution.
I'm attaching the current version, let me know of any comments you have
on it.
Andreas
--
Try to get all of your posthumous medals in advance.
-------------- next part --------------
#
# Find the KDevelop Platform modules and sets various variables accordingly
#
# Example usage of this module:
# find_package(KDevPlatform 1.0.0 REQUIRED)
#
# The version number and REQUIRED flag are optional. You can set CMAKE_PREFIX_PATH
# variable to help it find the required files and directories
# KDEVPLATFORM_FOUND - set to TRUE if the platform was found and the version is compatible FALSE otherwise
#
# KDEVPLATFORM_VERSION - The version number of kdevplatform
# KDEVPLATFORM_VERSION_MAJOR - The major version number of kdevplatform
# KDEVPLATFORM_VERSION_MINOR - The minor version number of kdevplatform
# KDEVPLATFORM_VERSION_PATCH - The patch version number of kdevplatform
# KDEVPLATFORM_INCLUDE_DIR - include dir of the platform, for example /usr/include/kdevplatform
# KDEVPLATFORM_INTERFACES_LIBRARY - interfaces module library
# KDEVPLATFORM_LANGUAGE_LIBRARY - language module library
# KDEVPLATFORM_OUTPUTVIEW_LIBRARY - outputview module library
# KDEVPLATFORM_PROJECT_LIBRARY - project module library
# KDEVPLATFORM_SUBLIME_LIBRARY - sublime module library
# KDEVPLATFORM_SHELL_LIBRARY - shell module library
# KDEVPLATFORM_TESTS_LIBRARY - library to write tests for plugins,
# contains some useful tools and a way to replace parts of Core
# classes with custom implementations
# KDEVPLATFORM_UTIL_LIBRARY - util module library
# KDEVPLATFORM_VCS_LIBRARY - vcs module library
# KDEVPLATFORM_VERITAS_LIBRARY - test module library
# KDEVPLATFORM_SOURCEFORMATTER_LIBRARY - source formatter library
# KDEVPLATFORM_DEBUGGER_LIBRARY - debugger module library
#
# The following macros are added (from KDevPlatformMacros.cmake):
#
# KDEVPLATFORM_ADD_APP_TEMPLATES( template1 ... templateN )
# Use this to get packaged template archives for the given templates.
# Parameters should be the directories containing the templates.
#
# Copyright 2007 Andreas Pakulat <apaku at gmx.de>
# Redistribution and use is allowed according to the terms of the BSD license.
set(_KDevPlatform_FIND_QUIETLY ${KDevPlatform_FIND_QUIETLY})
find_package( KDevPlatform ${KDevPlatform_FIND_VERSION} NO_MODULE )
set(KDevPlatform_FIND_QUIETLY ${_KDevPlatform_FIND_QUIETLY})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(KDevPlatform DEFAULT_MSG KDevPlatform_CONFIG )
More information about the Kde-buildsystem
mailing list