/
niceSOFT
/
cmake
Обзор
Документация
Войти
/
niceSOFT
/
cmake
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Help/command/load_command.rst
19 строк
663 B
Nikita Nemkin
Help: Convert some literal blocks into tables and lists
31 янв 2025, 20:23
31 янв 2025, 20:23
718043b
Код
Авторство
О чём код?
load_command ------------ Disallowed since version 3.0. See CMake Policy :policy:`CMP0031`. Load a command into a running CMake. .. code-block:: 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.