Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oleg Sidorkin
CMake
Commits
f2262fab
Commit
f2262fab
authored
3 years ago
by
Deniz Bahadir
Committed by
Brad King
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Help: Add documentation for CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT
Signed-off-by:
Deniz Bahadir
<
deniz@code.bahadir.email
>
parent
ffb54e23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Help/manual/cmake-variables.7.rst
+1
-0
1 addition, 0 deletions
Help/manual/cmake-variables.7.rst
Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
+18
-0
18 additions, 0 deletions
Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
with
19 additions
and
0 deletions
Help/manual/cmake-variables.7.rst
+
1
−
0
View file @
f2262fab
...
...
@@ -71,6 +71,7 @@ Variables that Provide Information
/variable/CMAKE_JOB_POOL_PRECOMPILE_HEADER
/variable/CMAKE_JOB_POOLS
/variable/CMAKE_LANG_COMPILER_AR
/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT
/variable/CMAKE_LANG_COMPILER_RANLIB
/variable/CMAKE_LANG_LINK_LIBRARY_SUFFIX
/variable/CMAKE_LINK_LIBRARY_SUFFIX
...
...
This diff is collapsed.
Click to expand it.
Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
0 → 100644
+
18
−
0
View file @
f2262fab
CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT
--------------------------------------
.. versionadded:: 3.14
Identification string of the compiler frontend variant.
Some compilers have multiple, different frontends for accepting command
line options. (For example ``Clang`` originally only had a frontend
compatible with the ``GNU`` compiler but since its port to Windows
(``Clang-Cl``) it now also supports a frontend compatible with ``MSVC``.)
When CMake detects such a compiler it sets this
variable to what would have been the :variable:`CMAKE_<LANG>_COMPILER_ID` for
the compiler whose frontend it resembles.
.. note::
In other words, this variable describes what command line options
and language extensions the compiler frontend expects.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment