Changeset View
Changeset View
Standalone View
Standalone View
modules/ECMGeneratePkgConfigFile.cmake
Show All 10 Lines | |||||
11 | # | 11 | # | ||
12 | # ecm_generate_pkgconfig_file(BASE_NAME <baseName> | 12 | # ecm_generate_pkgconfig_file(BASE_NAME <baseName> | ||
13 | # [LIB_NAME <libName>] | 13 | # [LIB_NAME <libName>] | ||
14 | # [DEPS "<dep> [<dep> [...]]"] | 14 | # [DEPS "<dep> [<dep> [...]]"] | ||
15 | # [FILENAME_VAR <filename_variable>] | 15 | # [FILENAME_VAR <filename_variable>] | ||
16 | # [INCLUDE_INSTALL_DIR <dir>] | 16 | # [INCLUDE_INSTALL_DIR <dir>] | ||
17 | # [LIB_INSTALL_DIR <dir>] | 17 | # [LIB_INSTALL_DIR <dir>] | ||
18 | # [DEFINES -D<variable=value>...] | 18 | # [DEFINES -D<variable=value>...] | ||
19 | # [DESCRIPTION <library description>] | 19 | # [DESCRIPTION <library description>] # since 5.41.0 | ||
20 | # [INSTALL]) | 20 | # [INSTALL]) | ||
21 | # | 21 | # | ||
22 | # ``BASE_NAME`` is the name of the module. It's the name projects will use to | 22 | # ``BASE_NAME`` is the name of the module. It's the name projects will use to | ||
23 | # find the module. | 23 | # find the module. | ||
24 | # | 24 | # | ||
25 | # ``LIB_NAME`` is the name of the library that is being exported. If undefined, | 25 | # ``LIB_NAME`` is the name of the library that is being exported. If undefined, | ||
26 | # it will default to the ``BASE_NAME``. That means the ``LIB_NAME`` will be set | 26 | # it will default to the ``BASE_NAME``. That means the ``LIB_NAME`` will be set | ||
27 | # as the name field as well as the library to link to. | 27 | # as the name field as well as the library to link to. | ||
Show All 12 Lines | |||||
40 | # not specified, it will default to ``LIB_INSTALL_DIR``, | 40 | # not specified, it will default to ``LIB_INSTALL_DIR``, | ||
41 | # ``CMAKE_INSTALL_LIBDIR`` or just "lib/" in case they are specified. | 41 | # ``CMAKE_INSTALL_LIBDIR`` or just "lib/" in case they are specified. | ||
42 | # | 42 | # | ||
43 | # ``DEFINES`` is a list of preprocessor defines that it is recommended users of | 43 | # ``DEFINES`` is a list of preprocessor defines that it is recommended users of | ||
44 | # the library pass to the compiler when using it. | 44 | # the library pass to the compiler when using it. | ||
45 | # | 45 | # | ||
46 | # ``DESCRIPTION`` describes what this library is. If it's not specified, CMake | 46 | # ``DESCRIPTION`` describes what this library is. If it's not specified, CMake | ||
47 | # will first try to get the description from the metainfo.yaml file or will | 47 | # will first try to get the description from the metainfo.yaml file or will | ||
48 | # create one based on ``LIB_NAME``. | 48 | # create one based on ``LIB_NAME``. Since 5.41.0. | ||
49 | # | 49 | # | ||
50 | # ``INSTALL`` will cause the module to be installed to the ``pkgconfig`` | 50 | # ``INSTALL`` will cause the module to be installed to the ``pkgconfig`` | ||
51 | # subdirectory of ``LIB_INSTALL_DIR``, unless the ``ECM_PKGCONFIG_INSTALL_DIR`` | 51 | # subdirectory of ``LIB_INSTALL_DIR``, unless the ``ECM_PKGCONFIG_INSTALL_DIR`` | ||
52 | # cache variable is set to something different. Note that the first call to | 52 | # cache variable is set to something different. Note that the first call to | ||
53 | # ecm_generate_pkgconfig_file with the ``INSTALL`` argument will cause | 53 | # ecm_generate_pkgconfig_file with the ``INSTALL`` argument will cause | ||
54 | # ``ECM_PKGCONFIG_INSTALL_DIR`` to be set to the cache, and will be used in any | 54 | # ``ECM_PKGCONFIG_INSTALL_DIR`` to be set to the cache, and will be used in any | ||
55 | # subsequent calls. | 55 | # subsequent calls. | ||
56 | # | 56 | # | ||
Show All 9 Lines | |||||
66 | # ecm_generate_pkgconfig_file( | 66 | # ecm_generate_pkgconfig_file( | ||
67 | # BASE_NAME KF5Archive | 67 | # BASE_NAME KF5Archive | ||
68 | # DEPS Qt5Core | 68 | # DEPS Qt5Core | ||
69 | # FILENAME_VAR pkgconfig_filename | 69 | # FILENAME_VAR pkgconfig_filename | ||
70 | # INSTALL | 70 | # INSTALL | ||
71 | # ) | 71 | # ) | ||
72 | # | 72 | # | ||
73 | # Since 1.3.0. | 73 | # Since 1.3.0. | ||
74 | # ``DESCRIPTION`` available since 5.1.41 | | |||
75 | # | 74 | # | ||
76 | 75 | | |||
77 | #============================================================================= | 76 | #============================================================================= | ||
78 | # Copyright 2014 Aleix Pol Gonzalez <aleixpol@kde.org> | 77 | # Copyright 2014 Aleix Pol Gonzalez <aleixpol@kde.org> | ||
79 | # Copyright 2014 David Faure <faure@kde.org> | 78 | # Copyright 2014 David Faure <faure@kde.org> | ||
80 | # | 79 | # | ||
81 | # Redistribution and use in source and binary forms, with or without | 80 | # Redistribution and use in source and binary forms, with or without | ||
82 | # modification, are permitted provided that the following conditions | 81 | # modification, are permitted provided that the following conditions | ||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |