mirror of
https://github.com/reactos/CMake.git
synced 2024-12-09 04:13:47 +00:00
c3f40f4fd9
Use inline reStructuredText markup and add cross-references in more places.
24 lines
630 B
ReStructuredText
24 lines
630 B
ReStructuredText
load_command
|
|
------------
|
|
|
|
Disallowed. See CMake Policy :policy:`CMP0031`.
|
|
|
|
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,
|
|
:command:`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.
|