CREATE_PROJECT: Don't include files with the same name but different paths
This commit is contained in:
parent
b9b580a4f1
commit
b0bc795999
7 changed files with 49 additions and 25 deletions
|
@ -118,7 +118,7 @@ void VisualStudioProvider::createProjectFile(const std::string &name, const std:
|
|||
modulePath.erase(0, 1);
|
||||
}
|
||||
|
||||
if (modulePath.size())
|
||||
if (!modulePath.empty())
|
||||
addFilesToProject(moduleDir, project, includeList, excludeList, setup.filePrefix + '/' + modulePath);
|
||||
else
|
||||
addFilesToProject(moduleDir, project, includeList, excludeList, setup.filePrefix);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue