mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
genex: generated files have known extensions
This commit is contained in:
parent
af30899cb4
commit
7c525c8416
@ -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