From f527f690e6d323c5d35005de2d5a6cd533e2e15c Mon Sep 17 00:00:00 2001 From: rtj Date: Fri, 10 Mar 2023 20:03:35 +0100 Subject: [PATCH] Patch for c++20 modules raw support This is work of @cheaterdev, details are in: https://github.com/ubisoft/Sharpmake/issues/145 https://github.com/ubisoft/Sharpmake/issues/146 --- Sharpmake.Generators/VisualStudio/Vcxproj.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sharpmake.Generators/VisualStudio/Vcxproj.cs b/Sharpmake.Generators/VisualStudio/Vcxproj.cs index d285d5b96..abca96287 100644 --- a/Sharpmake.Generators/VisualStudio/Vcxproj.cs +++ b/Sharpmake.Generators/VisualStudio/Vcxproj.cs @@ -1200,7 +1200,7 @@ private static bool ConfigurationNeedReferences(Project.Configuration conf) { return conf.Output == Project.Configuration.OutputType.Exe || conf.Output == Project.Configuration.OutputType.Dll - || (conf.Output == Project.Configuration.OutputType.Lib && conf.ExportAdditionalLibrariesEvenForStaticLib) + || (conf.Output == Project.Configuration.OutputType.Lib) || conf.Output == Project.Configuration.OutputType.DotNetConsoleApp || conf.Output == Project.Configuration.OutputType.DotNetClassLibrary || conf.Output == Project.Configuration.OutputType.DotNetWindowsApp;