mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 16:26:53 +00:00
CREATE-PROJECT: Set subsystem for legacy visual studio projects
This commit is contained in:
parent
b35e24c9fb
commit
1079a0f935
@ -231,8 +231,12 @@ void VisualStudioProvider::outputGlobalPropFile(const BuildSetup &setup, std::of
|
||||
<< "\t/>\n"
|
||||
<< "\t<Tool\n"
|
||||
<< "\t\tName=\"VCLinkerTool\"\n"
|
||||
<< "\t\tIgnoreDefaultLibraryNames=\"\"\n"
|
||||
<< "\t\tSubSystem=\"1\"\n";
|
||||
<< "\t\tIgnoreDefaultLibraryNames=\"\"\n";
|
||||
if (setup.featureEnabled("text-console")) {
|
||||
properties << "\t\tSubSystem=\"1\"\n";
|
||||
} else {
|
||||
properties << "\t\tSubSystem=\"2\"\n";
|
||||
}
|
||||
|
||||
if (!setup.devTools && !setup.tests)
|
||||
properties << "\t\tEntryPointSymbol=\"WinMainCRTStartup\"\n";
|
||||
|
Loading…
Reference in New Issue
Block a user