build: Fixed macOS bundle not using correct Python environment

* Pass verbose flag to Python indexer if enabled
This commit is contained in:
Eberhard Graether
2019-05-15 14:44:49 +02:00
parent a9887da9f1
commit b5e8c7f452
3 changed files with 25 additions and 3 deletions
@@ -1,5 +1,6 @@
#include "SourceGroupPythonEmpty.h"
#include "ApplicationSettings.h"
#include "FileManager.h"
#include "IndexerCommandCustom.h"
#include "ProjectSettings.h"
@@ -51,6 +52,11 @@ std::vector<std::shared_ptr<IndexerCommand>> SourceGroupPythonEmpty::getIndexerC
args += L" --environment-directory-path=" + m_settings->getEnvironmentDirectoryPathExpandedAndAbsolute().wstr();
}
if (ApplicationSettings::getInstance()->getVerboseIndexerLoggingEnabled())
{
args += L" --verbose";
}
std::vector<std::shared_ptr<IndexerCommand>> indexerCommands;
for (const FilePath& sourceFilePath : getAllSourceFilePaths())
{