mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 00:57:25 +00:00
Merge topic 'genex-output-known-extension'
7c525c84
genex: generated files have known extensions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1669
This commit is contained in:
commit
a629c338a1
@ -13,6 +13,7 @@
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmSourceFileLocationKind.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
@ -102,7 +103,8 @@ void cmGeneratorExpressionEvaluationFile::CreateOutputFile(
|
||||
for (std::string const& le : enabledLanguages) {
|
||||
std::string name = this->OutputFileExpr->Evaluate(
|
||||
lg, config, false, nullptr, nullptr, nullptr, le);
|
||||
cmSourceFile* sf = lg->GetMakefile()->GetOrCreateSource(name);
|
||||
cmSourceFile* sf = lg->GetMakefile()->GetOrCreateSource(
|
||||
name, false, cmSourceFileLocationKind::Known);
|
||||
sf->SetProperty("GENERATED", "1");
|
||||
|
||||
gg->SetFilenameTargetDepends(
|
||||
|
Loading…
Reference in New Issue
Block a user