Skip to content

Commit

Permalink
Premake docs for 9371 (#2210)
Browse files Browse the repository at this point in the history
* Premake docs for 9371

* Note about system frameworks
  • Loading branch information
lasote committed Sep 2, 2021
1 parent dea8f27 commit b115f64
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions reference/generators/premake.rst
Expand Up @@ -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
+++++++++++++++++++++++++
Expand All @@ -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 <https://github.com/conan-io/conan/pull/9371>`_.


Functions
---------
Expand All @@ -99,6 +110,8 @@ settings:
includedirs{conan_includedirs}
libdirs{conan_libdirs}
links{conan_libs}
links{conan_frameworks}
defines{conan_cppdefines}
bindirs{conan_bindirs}
end

0 comments on commit b115f64

Please sign in to comment.