https://github.com/Kitware/CMake
Raw File
Tip revision: 3a77329c40803b02fe33ffc86197c1baf291aaff authored by Brad King on 02 November 2018, 12:05:07 UTC
CMake 3.12.4
Tip revision: 3a77329
cmSetDirectoryPropertiesCommand.h
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#ifndef cmSetDirectoryPropertiesCommand_h
#define cmSetDirectoryPropertiesCommand_h

#include "cmConfigure.h" // IWYU pragma: keep

#include <string>
#include <vector>

#include "cmCommand.h"

class cmExecutionStatus;
class cmMakefile;

class cmSetDirectoryPropertiesCommand : public cmCommand
{
public:
  cmCommand* Clone() override { return new cmSetDirectoryPropertiesCommand; }

  /**
   * This is called when the command is first encountered in
   * the input file.
   */
  bool InitialPass(std::vector<std::string> const& args,
                   cmExecutionStatus& status) override;

  /**
   * Static entry point for use by other commands
   */
  static bool RunCommand(cmMakefile* mf,
                         std::vector<std::string>::const_iterator ait,
                         std::vector<std::string>::const_iterator aitend,
                         std::string& errors);
};

#endif
back to top