Browse Source

If SDL is disabled on Windows, build a console application.

legacy
Sam Hocevar 7 years ago
parent
commit
2c671158a1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      build/msbuild/lol.rules.props

+ 2
- 1
build/msbuild/lol.rules.props View File

@@ -66,7 +66,8 @@
<AdditionalDependencies Condition="'$(Platform)'=='Orbis'">$(OrbisDeps);%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<Link Condition="'$(Platform)'=='Win32' Or '$(Platform)'=='x64'">
<SubSystem>Windows</SubSystem>
<SubSystem Condition="'$(enable_sdl)'!='no'">Windows</SubSystem>
<SubSystem Condition="'$(enable_sdl)'=='no'">Console</SubSystem>
</Link>
<Link Condition="'$(Configuration)'=='Debug'">
<GenerateDebugInformation>true</GenerateDebugInformation>


Loading…
Cancel
Save