mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Convert builtin help to reStructuredText source files
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
This commit is contained in:
21
Help/command/load_command.rst
Normal file
21
Help/command/load_command.rst
Normal file
@@ -0,0 +1,21 @@
|
||||
load_command
|
||||
------------
|
||||
|
||||
Load a command into a running CMake.
|
||||
|
||||
::
|
||||
|
||||
load_command(COMMAND_NAME <loc1> [loc2 ...])
|
||||
|
||||
The given locations are searched for a library whose name is
|
||||
cmCOMMAND_NAME. If found, it is loaded as a module and the command is
|
||||
added to the set of available CMake commands. Usually, TRY_COMPILE is
|
||||
used before this command to compile the module. If the command is
|
||||
successfully loaded a variable named
|
||||
|
||||
::
|
||||
|
||||
CMAKE_LOADED_COMMAND_<COMMAND_NAME>
|
||||
|
||||
will be set to the full path of the module that was loaded. Otherwise
|
||||
the variable will not be set.
|
||||
Reference in New Issue
Block a user