2016-10-30 18:24:19 +01:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2021-09-14 00:13:48 +02:00
|
|
|
#pragma once
|
2016-07-09 11:21:54 +02:00
|
|
|
|
2017-07-20 19:35:53 +02:00
|
|
|
class cmState;
|
2008-10-12 18:41:06 +02:00
|
|
|
|
|
|
|
/**
|
2017-07-20 19:35:53 +02:00
|
|
|
* Global function to register all compiled in commands.
|
2017-04-14 19:02:05 +02:00
|
|
|
* To add a new command edit cmCommands.cxx and add your command.
|
|
|
|
* It is up to the caller to delete the commands created by this call.
|
2008-10-12 18:41:06 +02:00
|
|
|
*/
|
2017-07-20 19:35:53 +02:00
|
|
|
void GetScriptingCommands(cmState* state);
|
|
|
|
void GetProjectCommands(cmState* state);
|
|
|
|
void GetProjectCommandsInScriptMode(cmState* state);
|