mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
BUG: Fix convenience rule working directory
We generate convenience rules to build object files, preprocessed outputs, and assembly outputs of source files individually with make rules. This removes a redundant working directory change when more than one target builds the same source file.
This commit is contained in:
parent
1704afa08d
commit
934c832cba
@ -358,10 +358,10 @@ cmLocalUnixMakefileGenerator3
|
||||
commands.push_back(
|
||||
this->GetRecursiveMakeCall(tgtMakefileName.c_str(), targetName.c_str())
|
||||
);
|
||||
this->CreateCDCommand(commands,
|
||||
this->Makefile->GetHomeOutputDirectory(),
|
||||
this->Makefile->GetStartOutputDirectory());
|
||||
}
|
||||
this->CreateCDCommand(commands,
|
||||
this->Makefile->GetHomeOutputDirectory(),
|
||||
this->Makefile->GetStartOutputDirectory());
|
||||
|
||||
// Write the rule to the makefile.
|
||||
std::vector<std::string> no_depends;
|
||||
|
Loading…
Reference in New Issue
Block a user