From b115f642a8f978e78148a0a598a1feb799d2d746 Mon Sep 17 00:00:00 2001 From: Luis Martinez de Bartolome Izquierdo Date: Thu, 2 Sep 2021 17:23:33 +0200 Subject: [PATCH] Premake docs for 9371 (#2210) * Premake docs for 9371 * Note about system frameworks --- reference/generators/premake.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/reference/generators/premake.rst b/reference/generators/premake.rst index 4631a9ff1f6..d76c5bf17d7 100644 --- a/reference/generators/premake.rst +++ b/reference/generators/premake.rst @@ -56,6 +56,9 @@ For each requirement *conanbuildinfo.premake.lua* file declares the following va +---------------------------+------------------------------------------------------+ | conan_rootpath_XXX | Abs path to root package folder | +---------------------------+------------------------------------------------------+ +| conan_frameworks_XXX | Declared cpp_info.frameworks | ++---------------------------+------------------------------------------------------+ + Global declared variables +++++++++++++++++++++++++ @@ -81,6 +84,14 @@ Global declared variables +---------------------------+------------------------------------------------------+ | conan_exelinkflags | Aggregated executable link flags | +---------------------------+------------------------------------------------------+ +| conan_frameworks | Aggregated frameworks from cpp_info.frameworks | ++---------------------------+------------------------------------------------------+ + +.. note:: + + Both the global ``conan_frameworks`` and each ``conan_frameworks_xxx`` support only system frameworks, not + frameworks packaged by the requirements. See discussion `here `_. + Functions --------- @@ -99,6 +110,8 @@ settings: includedirs{conan_includedirs} libdirs{conan_libdirs} links{conan_libs} + links{conan_frameworks} defines{conan_cppdefines} bindirs{conan_bindirs} end +