mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
45 lines
2.4 KiB
CMake
45 lines
2.4 KiB
CMake
#
|
|
# 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_LIBRARIES - interfaces module library
|
|
# KDEVPLATFORM_LANGUAGE_LIBRARIES - language module library
|
|
# KDEVPLATFORM_OUTPUTVIEW_LIBRARIES - outputview module library
|
|
# KDEVPLATFORM_PROJECT_LIBRARIES - project module library
|
|
# KDEVPLATFORM_SUBLIME_LIBRARIES - sublime module library
|
|
# KDEVPLATFORM_SHELL_LIBRARIES - shell module library
|
|
# KDEVPLATFORM_TESTS_LIBRARIES - library to write tests for plugins,
|
|
# contains some useful tools and a way to replace parts of Core
|
|
# classes with custom implementations
|
|
# KDEVPLATFORM_UTIL_LIBRARIES - util module library
|
|
# KDEVPLATFORM_VCS_LIBRARIES - vcs module library
|
|
# KDEVPLATFORM_DEBUGGER_LIBRARIES - 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@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 )
|
|
|