diff --git a/IDEHelper/Compiler/BfCompiler.cpp b/IDEHelper/Compiler/BfCompiler.cpp index 668b3d96..dfd5bf89 100644 --- a/IDEHelper/Compiler/BfCompiler.cpp +++ b/IDEHelper/Compiler/BfCompiler.cpp @@ -9028,7 +9028,8 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetUsedOutputFileNames(BfCompiler* #ifdef BF_PLATFORM_WINDOWS if (moduleFileName.mWroteToLib) fileName = BeLibManager::GetLibFilePath(fileName); -#endif +#endif + if (!usedFileNames.TryAdd(fileName, NULL)) continue; if (!outString.empty()) diff --git a/IDEHelper/Compiler/BfContext.cpp b/IDEHelper/Compiler/BfContext.cpp index f45af98f..13ea5a8c 100644 --- a/IDEHelper/Compiler/BfContext.cpp +++ b/IDEHelper/Compiler/BfContext.cpp @@ -2078,6 +2078,7 @@ void BfContext::UpdateRevisedTypes() { auto& codeGenOptions = project->mCodeGenOptions; + buildConfigHashCtx.MixinStr(mCompiler->mOutputDirectory); buildConfigHashCtx.Mixin(project->mAlwaysIncludeAll); buildConfigHashCtx.Mixin(project->mSingleModule);