https://github.com/Kitware/CMake
Revision d57c1a5b3116d1df1bd5a7c2d9857e7b96d2a4f4 authored by Brad King on 02 October 2019, 11:53:33 UTC, committed by Kitware Robot on 02 October 2019, 11:53:43 UTC
ed98209ddc Revise include order using clang-format-6.0
185fe49f29 clang-format: Normalize headers presentation
42ef28b4f3 Remove unused uid_t/gid_t types on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sebastian Holtermann <sebholt@web.de>
Merge-request: !3851
2 parent s a4f404d + ed98209
Raw File
Tip revision: d57c1a5b3116d1df1bd5a7c2d9857e7b96d2a4f4 authored by Brad King on 02 October 2019, 11:53:33 UTC
Merge topic 'clang-format-normalize-headers-presentation'
Tip revision: d57c1a5
cmTryCompileCommand.h
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#ifndef cmTryCompileCommand_h
#define cmTryCompileCommand_h

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

#include <string>
#include <vector>

#include <cm/memory>

#include "cmCommand.h"
#include "cmCoreTryCompile.h"

class cmExecutionStatus;

/** \class cmTryCompileCommand
 * \brief Specifies where to install some files
 *
 * cmTryCompileCommand is used to test if source code can be compiled
 */
class cmTryCompileCommand : public cmCoreTryCompile
{
public:
  /**
   * This is a virtual constructor for the command.
   */
  std::unique_ptr<cmCommand> Clone() override
  {
    return cm::make_unique<cmTryCompileCommand>();
  }

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

#endif
back to top