https://github.com/Kitware/CMake
Revision 9da1c33cf1613d2b5b8192c2cffefa87466b002f authored by Brad King on 30 August 2019, 14:18:28 UTC, committed by Brad King on 30 August 2019, 14:20:12 UTC
With CMP0037 OLD behavior, executable and library target names may contain a slash. Avoid constructing file names with slashes. Fixes: #19653
1 parent 40bbe50
Tip revision: 9da1c33cf1613d2b5b8192c2cffefa87466b002f authored by Brad King on 30 August 2019, 14:18:28 UTC
fileapi: Fix codemodel v2 target file name for CMP0037 OLD behavior
fileapi: Fix codemodel v2 target file name for CMP0037 OLD behavior
Tip revision: 9da1c33
cmAddCompileOptionsCommand.cxx
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddCompileOptionsCommand.h"
#include "cmMakefile.h"
class cmExecutionStatus;
bool cmAddCompileOptionsCommand::InitialPass(
std::vector<std::string> const& args, cmExecutionStatus&)
{
if (args.empty()) {
return true;
}
for (std::string const& i : args) {
this->Makefile->AddCompileOption(i);
}
return true;
}
Computing file changes ...