https://github.com/Kitware/CMake
Raw File
Tip revision: f84c15ef2fa30dd074fcccafccec6b9b69266619 authored by Brad King on 17 July 2018, 11:18:36 UTC
CMake 3.12.0
Tip revision: f84c15e
cmPropertyDefinition.cxx
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#include "cmPropertyDefinition.h"

void cmPropertyDefinition::DefineProperty(const std::string& name,
                                          cmProperty::ScopeType scope,
                                          const char* shortDescription,
                                          const char* fullDescription,
                                          bool chain)
{
  this->Name = name;
  this->Scope = scope;
  this->Chained = chain;
  if (shortDescription) {
    this->ShortDescription = shortDescription;
  }
  if (fullDescription) {
    this->FullDescription = fullDescription;
  }
}
back to top