2016-09-27 19:01:08 +00:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2001-05-07 22:11:16 +00:00
|
|
|
#ifndef cmMakeDirectoryCommand_h
|
|
|
|
#define cmMakeDirectoryCommand_h
|
2001-05-04 15:34:59 +00:00
|
|
|
|
2017-08-25 18:39:02 +00:00
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
2017-04-11 19:42:35 +00:00
|
|
|
|
2016-10-25 18:35:04 +00:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2001-05-04 15:34:59 +00:00
|
|
|
#include "cmCommand.h"
|
|
|
|
|
2016-10-25 18:35:04 +00:00
|
|
|
class cmExecutionStatus;
|
|
|
|
|
2001-05-07 22:11:16 +00:00
|
|
|
/** \class cmMakeDirectoryCommand
|
|
|
|
* \brief Specify auxiliary source code directories.
|
2001-05-04 15:34:59 +00:00
|
|
|
*
|
2001-05-07 22:11:16 +00:00
|
|
|
* cmMakeDirectoryCommand specifies source code directories
|
|
|
|
* that must be built as part of this build process. This directories
|
|
|
|
* are not recursively processed like the SUBDIR command (cmSubdirCommand).
|
|
|
|
* A side effect of this command is to create a subdirectory in the build
|
|
|
|
* directory structure.
|
2001-05-04 15:34:59 +00:00
|
|
|
*/
|
2001-05-07 22:11:16 +00:00
|
|
|
class cmMakeDirectoryCommand : public cmCommand
|
2001-05-04 15:34:59 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* This is a virtual constructor for the command.
|
|
|
|
*/
|
2017-09-15 13:56:26 +00:00
|
|
|
cmCommand* Clone() override { return new cmMakeDirectoryCommand; }
|
2001-05-04 15:34:59 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This is called when the command is first encountered in
|
|
|
|
* the CMakeLists.txt file.
|
|
|
|
*/
|
2016-06-27 19:25:27 +00:00
|
|
|
bool InitialPass(std::vector<std::string> const& args,
|
2017-09-15 13:56:26 +00:00
|
|
|
cmExecutionStatus& status) override;
|
2001-05-04 15:34:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|