Skip to content

Commit

Permalink
Add docs for support clang-cl in default profile plugin (#3387)
Browse files Browse the repository at this point in the history
* add docs

* Update reference/extensions/profile_plugin.rst

Co-authored-by: James <james@conan.io>

---------

Co-authored-by: James <james@conan.io>
  • Loading branch information
czoido and memsharded authored Sep 15, 2023
1 parent c7c0e0c commit a713fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/extensions/profile_plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This plugin is located in the ``extensions/plugins/profile.py`` cache folder.

This ``profile.py`` contains a default implementation that does:

- Will try to define ``compiler.runtime_type`` for ``msvc`` compiler if it is not defined, and it will define it to match the ``settings.build_type``.
- Will try to define ``compiler.runtime_type`` for ``msvc`` and ``clang`` compilers (in Windows) if it is not defined, and it will define it to match the ``settings.build_type``.
That allow users to let it undefined in profiles, and switch it conveniently in command line just with ``-s build_type=Debug``
- Will check the ``compiler.cppstd`` value if defined to validate if the current compiler version has support for it. For example, if a developer
tries to use ``-s compiler=gcc -s compiler.version=5 -s compiler.cppstd=20``, it will raise an error.
Expand Down

0 comments on commit a713fe4

Please sign in to comment.