Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Premake docs for 9371 #2210

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 |
lasote marked this conversation as resolved.
Show resolved Hide resolved
+---------------------------+------------------------------------------------------+


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