Revision c932f498426609beb14b9339c2a7dec3ea624998 authored by Brad King on 07 June 2019, 14:22:34 UTC, committed by Brad King on 07 June 2019, 15:08:38 UTC
1 parent 6696855
Raw File
cmAddLinkOptionsCommand.cxx
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#include "cmAddLinkOptionsCommand.h"

#include "cmMakefile.h"

class cmExecutionStatus;

bool cmAddLinkOptionsCommand::InitialPass(std::vector<std::string> const& args,
                                          cmExecutionStatus&)
{
  if (args.empty()) {
    return true;
  }

  for (std::string const& i : args) {
    this->Makefile->AddLinkOption(i);
  }
  return true;
}
back to top