Line Length: <79
This commit is contained in:
parent
4db9dd89df
commit
c54ef23c16
@ -341,7 +341,8 @@ cmNinjaTargetGenerator
|
|||||||
useClDeps = true;
|
useClDeps = true;
|
||||||
if (projectName && std::string(projectName) == "CMAKE_TRY_COMPILE")
|
if (projectName && std::string(projectName) == "CMAKE_TRY_COMPILE")
|
||||||
{
|
{
|
||||||
// don't wrap for try_compile, TODO but why doesn't it work with cmcldeps?
|
// don't wrap for try_compile,
|
||||||
|
// TODO but why doesn't it work with cmcldeps?
|
||||||
useClDeps = false;
|
useClDeps = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -382,7 +383,8 @@ cmNinjaTargetGenerator
|
|||||||
if(useClDeps)
|
if(useClDeps)
|
||||||
{
|
{
|
||||||
std::string prefix = clShowPrefix;
|
std::string prefix = clShowPrefix;
|
||||||
cmdLine = "\"" + std::string(clDepsBinary) + "\" $in $out.d $out \"" + prefix + "\" " + cmdLine;
|
cmdLine = "\"" + std::string(clDepsBinary) + "\" $in $out.d $out \""
|
||||||
|
+ prefix + "\" " + cmdLine;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write the rule for compiling file of the given language.
|
// Write the rule for compiling file of the given language.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user