Browse Source

Help: Note that language-specific 'built-ins' are set by the project command.

Stephen Kelly 11 years ago
parent
commit
80e9fe9cee
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Help/manual/cmake-toolchains.7.rst

+ 5 - 1
Help/manual/cmake-toolchains.7.rst

@@ -20,7 +20,11 @@ with information about compiler and utility paths.
 Languages
 =========
 
-Languages are enabled by the :command:`project` command. If no project command
+Languages are enabled by the :command:`project` command.  Language-specific
+built-in variables, such as
+:variable:`CMAKE_CXX_COMPILER <CMAKE_<LANG>_COMPILER>`,
+:variable:`CMAKE_CXX_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` etc are set by
+invoking the :command:`project` command.  If no project command
 is in the top-level CMakeLists file, one will be implicitly generated. By default
 the enabled languages are C and CXX: