Switch vcxproj to using full file paths instead of wildcards (#477)

Unfortunately MS has deprecated wildcards in the latest version of visual studio
This commit is contained in:
Duncan 2020-05-20 20:11:40 +01:00 committed by GitHub
parent b89dca8ca0
commit bba8e25540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 202 additions and 4 deletions

View File

@ -15,18 +15,216 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="**\*.cpp" Exclude="version.cpp" />
<ClCompile Include="audio\audio.cpp" />
<ClCompile Include="audio\channel.cpp" />
<ClCompile Include="audio\music_channel.cpp" />
<ClCompile Include="audio\vehicle_channel.cpp" />
<ClCompile Include="company.cpp" />
<ClCompile Include="companymgr.cpp" />
<ClCompile Include="config.cpp" />
<ClCompile Include="console.cpp" />
<ClCompile Include="date.cpp" />
<ClCompile Include="drawing\SoftwareDrawingEngine.cpp" />
<ClCompile Include="environment.cpp" />
<ClCompile Include="GameCommands.cpp" />
<ClCompile Include="graphics\colour.cpp" />
<ClCompile Include="graphics\gfx.cpp" />
<ClCompile Include="gui.cpp" />
<ClCompile Include="industry.cpp" />
<ClCompile Include="industrymgr.cpp" />
<ClCompile Include="input.cpp" />
<ClCompile Include="input\keyboard.cpp" />
<ClCompile Include="input\mouse_input.cpp" />
<ClCompile Include="input\ShortcutManager.cpp" />
<ClCompile Include="interop\hook.cpp" />
<ClCompile Include="interop\hooks.cpp" />
<ClCompile Include="interop\interop.cpp" />
<ClCompile Include="intro.cpp" />
<ClCompile Include="localisation\conversion.cpp" />
<ClCompile Include="localisation\languagefiles.cpp" />
<ClCompile Include="localisation\languages.cpp" />
<ClCompile Include="localisation\stringmgr.cpp" />
<ClCompile Include="localisation\unicode.cpp" />
<ClCompile Include="map\SurfaceTile.cpp" />
<ClCompile Include="map\tile.cpp" />
<ClCompile Include="map\tilemgr.cpp" />
<ClCompile Include="messagemgr.cpp" />
<ClCompile Include="multiplayer.cpp" />
<ClCompile Include="objects\industry_object.cpp" />
<ClCompile Include="objects\objectmgr.cpp" />
<ClCompile Include="openloco.cpp" />
<ClCompile Include="platform\platform.posix.cpp" />
<ClCompile Include="platform\platform.windows.cpp" />
<ClCompile Include="progressbar.cpp" />
<ClCompile Include="s5\s5.cpp" />
<ClCompile Include="scenario.cpp" />
<ClCompile Include="scenariomgr.cpp" />
<ClCompile Include="station.cpp" />
<ClCompile Include="stationmgr.cpp" />
<ClCompile Include="things\misc.cpp" />
<ClCompile Include="things\thing.cpp" />
<ClCompile Include="things\thingmgr.cpp" />
<ClCompile Include="things\vehicle.cpp" />
<ClCompile Include="town.cpp" />
<ClCompile Include="townmgr.cpp" />
<ClCompile Include="tutorial.cpp" />
<ClCompile Include="ui.cpp" />
<ClCompile Include="ui\dropdown.cpp" />
<ClCompile Include="ui\Screenshot.cpp" />
<ClCompile Include="ui\scrollview.cpp" />
<ClCompile Include="ui\viewport_interaction.cpp" />
<ClCompile Include="ui\WindowManager.cpp" />
<ClCompile Include="utility\numeric.cpp" />
<ClCompile Include="utility\string.cpp" />
<ClCompile Include="version.cpp">
<!-- Define git information -->
<PreprocessorDefinitions Condition="'$(OPENLOCO_BRANCH)'!=''">OPENLOCO_BRANCH="$(OPENLOCO_BRANCH)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(OPENLOCO_SHA1_SHORT)'!=''">OPENLOCO_COMMIT_SHA1_SHORT="$(OPENLOCO_SHA1_SHORT)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(GIT_DESCRIBE)'!=''">OPENLOCO_VERSION_TAG="$(GIT_DESCRIBE)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Include="viewport.cpp" />
<ClCompile Include="viewportmgr.cpp" />
<ClCompile Include="widget.cpp" />
<ClCompile Include="window.cpp" />
<ClCompile Include="windows\about.cpp" />
<ClCompile Include="windows\about_music.cpp" />
<ClCompile Include="windows\build_vehicle.cpp" />
<ClCompile Include="windows\CompanyFaceSelection.cpp" />
<ClCompile Include="windows\CompanyList.cpp" />
<ClCompile Include="windows\CompanyWindow.cpp" />
<ClCompile Include="windows\constructionwnd.cpp" />
<ClCompile Include="windows\EditKeyboardShortcut.cpp" />
<ClCompile Include="windows\IndustryWindow.cpp" />
<ClCompile Include="windows\industry_list.cpp" />
<ClCompile Include="windows\KeyboardShortcuts.cpp" />
<ClCompile Include="windows\LandscapeGeneration.cpp" />
<ClCompile Include="windows\LandscapeGenerationConfirm.cpp" />
<ClCompile Include="windows\map.cpp" />
<ClCompile Include="windows\MessageWindow.cpp" />
<ClCompile Include="windows\music_selection.cpp" />
<ClCompile Include="windows\options.cpp" />
<ClCompile Include="windows\PlayerInfoPanel.cpp" />
<ClCompile Include="windows\promptbrowsewnd.cpp" />
<ClCompile Include="windows\promptokcancelwnd.cpp" />
<ClCompile Include="windows\ScenarioOptions.cpp" />
<ClCompile Include="windows\stationwnd.cpp" />
<ClCompile Include="windows\station_list.cpp" />
<ClCompile Include="windows\terraform.cpp" />
<ClCompile Include="windows\textinputwnd.cpp" />
<ClCompile Include="windows\TimePanel.cpp" />
<ClCompile Include="windows\title_exit.cpp" />
<ClCompile Include="windows\title_logo.cpp" />
<ClCompile Include="windows\title_menu.cpp" />
<ClCompile Include="windows\title_options.cpp" />
<ClCompile Include="windows\title_version.cpp" />
<ClCompile Include="windows\ToolbarBottomEditor.cpp" />
<ClCompile Include="windows\toolbar_top.cpp" />
<ClCompile Include="windows\toolbar_top_alt.cpp" />
<ClCompile Include="windows\toolbar_top_common.cpp" />
<ClCompile Include="windows\tooltip.cpp" />
<ClCompile Include="windows\townwnd.cpp" />
<ClCompile Include="windows\town_list.cpp" />
<ClCompile Include="windows\vehicle.cpp" />
<ClCompile Include="windows\vehicle_list.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\resources\resource.h" />
<ClInclude Include="**\*.h" />
<ClInclude Include="**\*.hpp" />
<ClInclude Include="audio\audio.h" />
<ClInclude Include="audio\channel.h" />
<ClInclude Include="audio\music_channel.h" />
<ClInclude Include="audio\vehicle_channel.h" />
<ClInclude Include="company.h" />
<ClInclude Include="companymgr.h" />
<ClInclude Include="config.convert.hpp" />
<ClInclude Include="config.h" />
<ClInclude Include="console.h" />
<ClInclude Include="core\FileSystem.hpp" />
<ClInclude Include="core\Optional.hpp" />
<ClInclude Include="date.h" />
<ClInclude Include="drawing\SoftwareDrawingEngine.h" />
<ClInclude Include="environment.h" />
<ClInclude Include="game_commands.h" />
<ClInclude Include="graphics\colours.h" />
<ClInclude Include="graphics\gfx.h" />
<ClInclude Include="graphics\image_ids.h" />
<ClInclude Include="graphics\types.h" />
<ClInclude Include="gui.h" />
<ClInclude Include="industry.h" />
<ClInclude Include="industrymgr.h" />
<ClInclude Include="input.h" />
<ClInclude Include="input\Shortcut.h" />
<ClInclude Include="input\ShortcutManager.h" />
<ClInclude Include="interop\interop.hpp" />
<ClInclude Include="intro.h" />
<ClInclude Include="localisation\argswrapper.hpp" />
<ClInclude Include="localisation\conversion.h" />
<ClInclude Include="localisation\FormatArguments.hpp" />
<ClInclude Include="localisation\languagefiles.h" />
<ClInclude Include="localisation\languages.h" />
<ClInclude Include="localisation\stringmgr.h" />
<ClInclude Include="localisation\string_ids.h" />
<ClInclude Include="localisation\unicode.h" />
<ClInclude Include="management\Expenditures.h" />
<ClInclude Include="map\tile.h" />
<ClInclude Include="map\tilemgr.h" />
<ClInclude Include="map\tile_loop.hpp" />
<ClInclude Include="messagemgr.h" />
<ClInclude Include="multiplayer.h" />
<ClInclude Include="objects\airport_object.h" />
<ClInclude Include="objects\building_object.h" />
<ClInclude Include="objects\cargo_object.h" />
<ClInclude Include="objects\competitor_object.h" />
<ClInclude Include="objects\currency_object.h" />
<ClInclude Include="objects\industry_object.h" />
<ClInclude Include="objects\interface_skin_object.h" />
<ClInclude Include="objects\land_object.h" />
<ClInclude Include="objects\objectmgr.h" />
<ClInclude Include="objects\road_extra_object.h" />
<ClInclude Include="objects\road_object.h" />
<ClInclude Include="objects\road_station_object.h" />
<ClInclude Include="objects\scenario_text_object.h" />
<ClInclude Include="objects\sound_object.h" />
<ClInclude Include="objects\steam_object.h" />
<ClInclude Include="objects\track_extra_object.h" />
<ClInclude Include="objects\track_object.h" />
<ClInclude Include="objects\vehicle_object.h" />
<ClInclude Include="objects\water_object.h" />
<ClInclude Include="openloco.h" />
<ClInclude Include="platform\platform.h" />
<ClInclude Include="progressbar.h" />
<ClInclude Include="s5\s5.h" />
<ClInclude Include="scenario.h" />
<ClInclude Include="scenariomgr.h" />
<ClInclude Include="station.h" />
<ClInclude Include="stationmgr.h" />
<ClInclude Include="things\misc.h" />
<ClInclude Include="things\thing.h" />
<ClInclude Include="things\thingmgr.h" />
<ClInclude Include="things\vehicle.h" />
<ClInclude Include="thirdparty\filesystem.hpp" />
<ClInclude Include="town.h" />
<ClInclude Include="townmgr.h" />
<ClInclude Include="tutorial.h" />
<ClInclude Include="types.hpp" />
<ClInclude Include="ui.h" />
<ClInclude Include="ui\dropdown.h" />
<ClInclude Include="ui\Rect.h" />
<ClInclude Include="ui\Screenshot.h" />
<ClInclude Include="ui\scrollview.h" />
<ClInclude Include="ui\WindowManager.h" />
<ClInclude Include="ui\WindowType.h" />
<ClInclude Include="utility\collection.hpp" />
<ClInclude Include="utility\numeric.hpp" />
<ClInclude Include="utility\prng.hpp" />
<ClInclude Include="utility\stream.hpp" />
<ClInclude Include="utility\string.hpp" />
<ClInclude Include="utility\yaml.hpp" />
<ClInclude Include="viewport.hpp" />
<ClInclude Include="viewportmgr.h" />
<ClInclude Include="widget.h" />
<ClInclude Include="win32.h" />
<ClInclude Include="window.h" />
<ClInclude Include="windows\toolbar_top_common.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\resources\OpenLoco.rc" />
@ -67,4 +265,4 @@
<_NuGetTargetFallbackMoniker>$(_NuGetTargetFallbackMoniker);native,Version=v0.0</_NuGetTargetFallbackMoniker>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
</Project>