mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Rebuild libs on outputDir change
This commit is contained in:
parent
3dd6c2719e
commit
fc66c7757b
2 changed files with 3 additions and 1 deletions
|
@ -9029,6 +9029,7 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetUsedOutputFileNames(BfCompiler*
|
||||||
if (moduleFileName.mWroteToLib)
|
if (moduleFileName.mWroteToLib)
|
||||||
fileName = BeLibManager::GetLibFilePath(fileName);
|
fileName = BeLibManager::GetLibFilePath(fileName);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!usedFileNames.TryAdd(fileName, NULL))
|
if (!usedFileNames.TryAdd(fileName, NULL))
|
||||||
continue;
|
continue;
|
||||||
if (!outString.empty())
|
if (!outString.empty())
|
||||||
|
|
|
@ -2078,6 +2078,7 @@ void BfContext::UpdateRevisedTypes()
|
||||||
{
|
{
|
||||||
auto& codeGenOptions = project->mCodeGenOptions;
|
auto& codeGenOptions = project->mCodeGenOptions;
|
||||||
|
|
||||||
|
buildConfigHashCtx.MixinStr(mCompiler->mOutputDirectory);
|
||||||
buildConfigHashCtx.Mixin(project->mAlwaysIncludeAll);
|
buildConfigHashCtx.Mixin(project->mAlwaysIncludeAll);
|
||||||
buildConfigHashCtx.Mixin(project->mSingleModule);
|
buildConfigHashCtx.Mixin(project->mSingleModule);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue