https://github.com/Kitware/CMake
Revision 8d6a0b9364581fbb95746c93cac4ec3c213f534b authored by Brad King on 27 October 2020, 12:20:48 UTC, committed by Kitware Robot on 27 October 2020, 12:20:54 UTC
dd77dec18d VS: Don't compute CUDA options unless necessary
e9109dec36 Merge branch 'ninja-multi-per-config-sources' into release-3.18
7c0de4175b Merge branch 'cmake-E-cat-binary' into release-3.18

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5422
2 parent s 698851c + dd77dec
Raw File
Tip revision: 8d6a0b9364581fbb95746c93cac4ec3c213f534b authored by Brad King on 27 October 2020, 12:20:48 UTC
Merge topic 'cuda_vs_skip_computation' into release-3.19
Tip revision: 8d6a0b9
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