mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 01:19:31 -05:00
Merge topic 'pr.projectbefore'
0761186949 project: Add variable CMAKE_PROJECT_INCLUDE_BEFORE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3175
This commit is contained in:
@@ -25,6 +25,10 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!this->IncludeByVariable("CMAKE_PROJECT_INCLUDE_BEFORE")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string const& projectName = args[0];
|
||||
|
||||
this->Makefile->SetProjectName(projectName);
|
||||
|
||||
Reference in New Issue
Block a user