CREATE_PROJECT: Use console for devtools and tests projects
This commit is contained in:
parent
73755d1d3a
commit
a52e5818d2
2 changed files with 2 additions and 2 deletions
|
@ -384,7 +384,7 @@ void MSBuildProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstrea
|
|||
<< "\t\t</ClCompile>\n"
|
||||
<< "\t\t<Link>\n"
|
||||
<< "\t\t\t<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\n";
|
||||
if (!setup.featureEnabled("text-console")) {
|
||||
if (!setup.featureEnabled("text-console") && !setup.devTools && !setup.tests) {
|
||||
properties << "\t\t\t<SubSystem>Windows</SubSystem>\n";
|
||||
} else {
|
||||
properties << "\t\t\t<SubSystem>Console</SubSystem>\n";
|
||||
|
|
|
@ -232,7 +232,7 @@ void VisualStudioProvider::outputGlobalPropFile(const BuildSetup &setup, std::of
|
|||
<< "\t<Tool\n"
|
||||
<< "\t\tName=\"VCLinkerTool\"\n"
|
||||
<< "\t\tIgnoreDefaultLibraryNames=\"\"\n";
|
||||
if (setup.featureEnabled("text-console")) {
|
||||
if (setup.featureEnabled("text-console") || setup.devTools || setup.tests) {
|
||||
properties << "\t\tSubSystem=\"1\"\n";
|
||||
} else {
|
||||
properties << "\t\tSubSystem=\"2\"\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue