Skip to content

Commit

Permalink
Remove restriction in FastBuild generation for IgnoreImportLibrary wh…
Browse files Browse the repository at this point in the history
…en ExportDllSymbols is set to false
  • Loading branch information
Rudy Pons authored and belkiss committed Jul 13, 2021
1 parent d492833 commit 82b891c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sharpmake.Generators/FastBuild/Bff.cs
Expand Up @@ -237,8 +237,8 @@ List<string> skipFiles
// Validation of unsupported cases
if (conf.EventPreLink.Count > 0)
throw new Error("Sharpmake-FastBuild : Pre-Link Events not yet supported.");
if (context.Options["IgnoreImportLibrary"] == "true")
throw new Error("Sharpmake-FastBuild : IgnoreImportLibrary not yet supported.");
if (context.Options["IgnoreImportLibrary"] == "true" && conf.ExportDllSymbols)
throw new Error("Sharpmake-FastBuild : IgnoreImportLibrary not yet supported, set ExportDllSymbols to false for similar behavior.");

if (conf.Output != Project.Configuration.OutputType.None && conf.FastBuildBlobbed)
{
Expand Down

0 comments on commit 82b891c

Please sign in to comment.