~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to cmake/modules/FindKDevPlatform.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Find the KDevelop Platform modules and sets various variables accordingly
 
3
#
 
4
# Example usage of this module:
 
5
# find_package(KDevPlatform 1.0.0 REQUIRED)
 
6
 
7
# The version number and REQUIRED flag are optional. You can set CMAKE_PREFIX_PATH
 
8
# variable to help it find the required files and directories
 
9
 
 
10
# KDEVPLATFORM_FOUND                   - set to TRUE if the platform was found and the version is compatible FALSE otherwise
 
11
#
 
12
# KDEVPLATFORM_VERSION                 - The version number of kdevplatform
 
13
# KDEVPLATFORM_VERSION_MAJOR           - The major version number of kdevplatform
 
14
# KDEVPLATFORM_VERSION_MINOR           - The minor version number of kdevplatform
 
15
# KDEVPLATFORM_VERSION_PATCH           - The patch version number of kdevplatform
 
16
# KDEVPLATFORM_INCLUDE_DIR             - include dir of the platform, for example /usr/include/kdevplatform
 
17
# KDEVPLATFORM_INTERFACES_LIBRARIES      - interfaces module library
 
18
# KDEVPLATFORM_LANGUAGE_LIBRARIES        - language module library
 
19
# KDEVPLATFORM_OUTPUTVIEW_LIBRARIES      - outputview module library
 
20
# KDEVPLATFORM_PROJECT_LIBRARIES         - project module library
 
21
# KDEVPLATFORM_SUBLIME_LIBRARIES         - sublime module library
 
22
# KDEVPLATFORM_SHELL_LIBRARIES           - shell module library
 
23
# KDEVPLATFORM_TESTS_LIBRARIES           - library to write tests for plugins,
 
24
#                                        contains some useful tools and a way to replace parts of Core 
 
25
#                                        classes with custom implementations
 
26
# KDEVPLATFORM_UTIL_LIBRARIES            - util module library
 
27
# KDEVPLATFORM_VCS_LIBRARIES             - vcs module library
 
28
# KDEVPLATFORM_DEBUGGER_LIBRARIES        - debugger module library
 
29
#
 
30
# The following macros are added (from KDevPlatformMacros.cmake):
 
31
#
 
32
#  KDEVPLATFORM_ADD_APP_TEMPLATES( template1 ... templateN )
 
33
#    Use this to get packaged template archives for the given templates.
 
34
#    Parameters should be the directories containing the templates.
 
35
#
 
36
# Copyright 2007 Andreas Pakulat <apaku@gmx.de>
 
37
# Redistribution and use is allowed according to the terms of the BSD license.
 
38
 
 
39
set(_KDevPlatform_FIND_QUIETLY ${KDevPlatform_FIND_QUIETLY})
 
40
find_package( KDevPlatform ${KDevPlatform_FIND_VERSION} NO_MODULE )
 
41
set(KDevPlatform_FIND_QUIETLY ${_KDevPlatform_FIND_QUIETLY})
 
42
 
 
43
include(FindPackageHandleStandardArgs)
 
44
find_package_handle_standard_args(KDevPlatform DEFAULT_MSG KDevPlatform_CONFIG )
 
45