https://github.com/Kitware/CMake
Raw File
Tip revision: c9b27dace7e4110b25d5889e9c6952d0f4a7ca58 authored by Brad King on 06 April 2021, 17:21:53 UTC
CMake 3.19.8
Tip revision: c9b27da
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 "cmExecutionStatus.h"
#include "cmMakefile.h"

bool cmAddLinkOptionsCommand(std::vector<std::string> const& args,
                             cmExecutionStatus& status)
{
  cmMakefile& mf = status.GetMakefile();
  for (std::string const& i : args) {
    mf.AddLinkOption(i);
  }
  return true;
}
back to top