1 #-----------------------------------------------------------------------------
3 # KWWidgetsConfig.cmake - CMake configuration file for external projects.
5 # This file is configured by KWWidgets and used by the UseKWWidgets.cmake
6 # module to load KWWidgets's settings for an external project.
7 @KWWidgets_CONFIG_INSTALL_ONLY@
8 # The KWWidgets version number.
9 SET(KWWidgets_MAJOR_VERSION "@KWWidgets_MAJOR_VERSION@")
10 SET(KWWidgets_MINOR_VERSION "@KWWidgets_MINOR_VERSION@")
13 SET(KWWidgets_LIBRARIES "@KWWidgets_LIBRARIES@")
15 # The list of available languages.
16 SET(KWWidgets_LANGUAGES "TCL")
18 # The CMake macros dir.
19 SET(KWWidgets_CMAKE_DIR "@KWWidgets_CMAKE_DIR_CONFIG@")
21 # The configuration options.
22 SET(KWWidgets_BUILD_SHARED_LIBS "@KWWidgets_BUILD_SHARED_LIBS@")
23 SET(KWWidgets_USE_HTML_HELP "@KWWidgets_USE_HTML_HELP@")
24 SET(KWWidgets_USE_INTERNATIONALIZATION "@KWWidgets_USE_INTERNATIONALIZATION@")
26 # The C and C++ flags added to the cmake-configured flags.
27 SET(KWWidgets_REQUIRED_C_FLAGS
28 "@KWWidgets_REQUIRED_C_FLAGS@")
29 SET(KWWidgets_REQUIRED_CXX_FLAGS
30 "@KWWidgets_REQUIRED_CXX_FLAGS@")
31 SET(KWWidgets_REQUIRED_EXE_LINKER_FLAGS
32 "@KWWidgets_REQUIRED_EXE_LINKER_FLAGS@")
33 SET(KWWidgets_REQUIRED_SHARED_LINKER_FLAGS
34 "@KWWidgets_REQUIRED_SHARED_LINKER_FLAGS@")
35 SET(KWWidgets_REQUIRED_MODULE_LINKER_FLAGS
36 "@KWWidgets_REQUIRED_MODULE_LINKER_FLAGS@")
39 SET(KWWidgets_USE_FILE "@KWWidgets_USE_FILE_CONFIG@")
41 # The build settings file.
42 SET(KWWidgets_BUILD_SETTINGS_FILE "@KWWidgets_BUILD_SETTINGS_FILE_CONFIG@")
44 # The library directories.
45 SET(KWWidgets_LIBRARY_DIRS "@KWWidgets_LIBRARY_DIRS_CONFIG@")
47 # The runtime directories.
48 # Note that if KWWidgets_CONFIGURATION_TYPES is set (see below) then
49 # these directories will be the parent directories under which there will
50 # be a directory of runtime binaries for each configuration type.
51 SET(KWWidgets_RUNTIME_DIRS "@KWWidgets_RUNTIME_DIRS_CONFIG@")
53 # The include directories.
54 SET(KWWidgets_INCLUDE_DIRS "@KWWidgets_INCLUDE_DIRS_CONFIG@")
56 # The library dependencies file.
57 IF(NOT KWWidgets_NO_LIBRARY_DEPENDS)
58 INCLUDE("@KWWidgets_LIBRARY_DEPENDS_FILE@")
59 ENDIF(NOT KWWidgets_NO_LIBRARY_DEPENDS)
62 SET(KWWidgets_EXAMPLES_DIR "@KWWidgets_EXAMPLES_DIR_CONFIG@")
65 SET(KWWidgets_TEMPLATES_DIR "@KWWidgets_TEMPLATES_DIR_CONFIG@")
68 SET(KWWidgets_RESOURCES_DIR "@KWWidgets_RESOURCES_DIR_CONFIG@")
69 SET(KWWidgets_RESOURCE_MAJOR_VERSION
70 "@KWWidgets_RESOURCE_MAJOR_VERSION@")
71 SET(KWWidgets_RESOURCE_MINOR_VERSION
72 "@KWWidgets_RESOURCE_MINOR_VERSION@")
73 SET(KWWidgets_RESOURCE_APPLICATION_NAME
74 "@KWWidgets_RESOURCE_APPLICATION_NAME@")
75 SET(KWWidgets_RESOURCE_FILE_NAME
76 "@KWWidgets_RESOURCE_FILE_NAME@")
77 SET(KWWidgets_RESOURCE_COMPANY_NAME
78 "@KWWidgets_RESOURCE_COMPANY_NAME@")
81 SET(KWWidgets_TCL_PACKAGE_INDEX_DIR
82 "@KWWidgets_TCL_PACKAGE_INDEX_DIR_CONFIG@")
85 SET(KWWidgets_TCL_PACKAGE_INDEX_DIR
86 "@KWWidgets_TCL_PACKAGE_INDEX_DIR_CONFIG@")
89 SET(KWWidgets_PYTHON_MODULE_DIR
90 "@KWWidgets_PYTHON_MODULE_DIR_CONFIG@")
92 # The Doxygen options.
93 SET(KWWidgets_DOXYGEN_DIR "@KWWidgets_DOXYGEN_DIR_CONFIG@")
96 SET(KWWidgets_VTK_DIR "@KWWidgets_VTK_DIR_CONFIG@")
98 # The gettext library. This is only defined for build dirs to help projects
99 # find the gettext library (it is safe to assume we are on the same machine;
100 # we could not guarantee that if we are building against an installed
102 SET(GETTEXT_SEARCH_PATH ${GETTEXT_SEARCH_PATH} "@GETTEXT_SEARCH_PATH_CONFIG@")
104 # An install tree always provides one build configuration.
105 # A build tree may provide either one or multiple build
106 # configurations depending on the CMake generator used. Since
107 # this project can be used either from a build tree or an install tree it
108 # is useful for outside projects to know the configurations available.
109 # If this KWWidgetsConfig.cmake is in an install tree
110 # KWWidgets_CONFIGURATION_TYPES will be empty and KWWidgets_BUILD_TYPE
111 # will be set to the value of CMAKE_BUILD_TYPE used to build
112 # KWWidgets. If KWWidgetsConfig.cmake is in a build tree
113 # then KWWidgets_CONFIGURATION_TYPES and KWWidgets_BUILD_TYPE will
114 # have values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE
115 # for that build tree (only one will ever be set).
116 SET(KWWidgets_CONFIGURATION_TYPES @KWWidgets_CONFIGURATION_TYPES_CONFIG@)
117 SET(KWWidgets_BUILD_TYPE @KWWidgets_BUILD_TYPE_CONFIG@)