MegaZeux.vcxproj 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <ItemGroup Label="ProjectConfigurations">
  4. <ProjectConfiguration Include="Debug|Win32">
  5. <Configuration>Debug</Configuration>
  6. <Platform>Win32</Platform>
  7. </ProjectConfiguration>
  8. <ProjectConfiguration Include="Release|Win32">
  9. <Configuration>Release</Configuration>
  10. <Platform>Win32</Platform>
  11. </ProjectConfiguration>
  12. <ProjectConfiguration Include="Debug|x64">
  13. <Configuration>Debug</Configuration>
  14. <Platform>x64</Platform>
  15. </ProjectConfiguration>
  16. <ProjectConfiguration Include="Release|x64">
  17. <Configuration>Release</Configuration>
  18. <Platform>x64</Platform>
  19. </ProjectConfiguration>
  20. </ItemGroup>
  21. <PropertyGroup Label="Globals">
  22. <VCProjectVersion>15.0</VCProjectVersion>
  23. <ProjectGuid>{0280F856-7B8D-4574-B842-3F4B9D6A541D}</ProjectGuid>
  24. <RootNamespace>MegaZeux</RootNamespace>
  25. <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
  26. </PropertyGroup>
  27. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  28. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  29. <ConfigurationType>Application</ConfigurationType>
  30. <UseDebugLibraries>true</UseDebugLibraries>
  31. <PlatformToolset>v141_xp</PlatformToolset>
  32. <CharacterSet>MultiByte</CharacterSet>
  33. </PropertyGroup>
  34. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  35. <ConfigurationType>Application</ConfigurationType>
  36. <UseDebugLibraries>false</UseDebugLibraries>
  37. <PlatformToolset>v141_xp</PlatformToolset>
  38. <WholeProgramOptimization>true</WholeProgramOptimization>
  39. <CharacterSet>MultiByte</CharacterSet>
  40. </PropertyGroup>
  41. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  42. <ConfigurationType>Application</ConfigurationType>
  43. <UseDebugLibraries>true</UseDebugLibraries>
  44. <PlatformToolset>v141_xp</PlatformToolset>
  45. <CharacterSet>MultiByte</CharacterSet>
  46. </PropertyGroup>
  47. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  48. <ConfigurationType>Application</ConfigurationType>
  49. <UseDebugLibraries>false</UseDebugLibraries>
  50. <PlatformToolset>v141_xp</PlatformToolset>
  51. <WholeProgramOptimization>true</WholeProgramOptimization>
  52. <CharacterSet>MultiByte</CharacterSet>
  53. </PropertyGroup>
  54. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  55. <ImportGroup Label="ExtensionSettings">
  56. </ImportGroup>
  57. <ImportGroup Label="Shared">
  58. </ImportGroup>
  59. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  60. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  61. </ImportGroup>
  62. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  63. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  64. </ImportGroup>
  65. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  66. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  67. </ImportGroup>
  68. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  69. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  70. </ImportGroup>
  71. <PropertyGroup Label="UserMacros" />
  72. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  73. <IntDir>$(SolutionDir)\obj\$(ProjectName)\$(Configuration)\$(PlatformTarget)\</IntDir>
  74. <OutDir>$(SolutionDir)\..\..</OutDir>
  75. <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
  76. </PropertyGroup>
  77. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  78. <IntDir>$(SolutionDir)\obj\$(ProjectName)\$(Configuration)\$(PlatformTarget)\</IntDir>
  79. <OutDir>$(SolutionDir)\..\..</OutDir>
  80. <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
  81. </PropertyGroup>
  82. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  83. <IntDir>$(SolutionDir)\obj\$(ProjectName)\$(Configuration)\$(PlatformTarget)\</IntDir>
  84. <OutDir>$(SolutionDir)\..\..</OutDir>
  85. <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
  86. </PropertyGroup>
  87. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  88. <IntDir>$(SolutionDir)\obj\$(ProjectName)\$(Configuration)\$(PlatformTarget)\</IntDir>
  89. <OutDir>$(SolutionDir)\..\..</OutDir>
  90. <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
  91. </PropertyGroup>
  92. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  93. <ClCompile>
  94. <WarningLevel>Level3</WarningLevel>
  95. <Optimization>Disabled</Optimization>
  96. <SDLCheck>false</SDLCheck>
  97. <ConformanceMode>true</ConformanceMode>
  98. <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;__WIN32__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  99. </ClCompile>
  100. <Link>
  101. <SubSystem>Console</SubSystem>
  102. <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  103. <AdditionalDependencies>SDL2main.lib;SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
  104. </Link>
  105. </ItemDefinitionGroup>
  106. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  107. <ClCompile>
  108. <WarningLevel>Level3</WarningLevel>
  109. <Optimization>Disabled</Optimization>
  110. <SDLCheck>false</SDLCheck>
  111. <ConformanceMode>true</ConformanceMode>
  112. <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;__WIN32__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  113. </ClCompile>
  114. <Link>
  115. <SubSystem>Console</SubSystem>
  116. <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  117. <AdditionalDependencies>SDL2main.lib;SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
  118. </Link>
  119. </ItemDefinitionGroup>
  120. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  121. <ClCompile>
  122. <WarningLevel>Level3</WarningLevel>
  123. <Optimization>MaxSpeed</Optimization>
  124. <FunctionLevelLinking>true</FunctionLevelLinking>
  125. <IntrinsicFunctions>true</IntrinsicFunctions>
  126. <SDLCheck>false</SDLCheck>
  127. <ConformanceMode>true</ConformanceMode>
  128. <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;__WIN32__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  129. </ClCompile>
  130. <Link>
  131. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  132. <OptimizeReferences>true</OptimizeReferences>
  133. <SubSystem>Windows</SubSystem>
  134. <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  135. <AdditionalDependencies>SDL2main.lib;SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
  136. </Link>
  137. <PostBuildEvent>
  138. <Command>cd /d $(SolutionDir)..\..
  139. rd /s /q build\dist\$(PlatformTarget)
  140. mkdir build\dist\$(PlatformTarget)
  141. copy MegaZeux.exe build\dist\$(PlatformTarget)
  142. copy MZXRun.exe build\dist\$(PlatformTarget)
  143. copy Core.dll build\dist\$(PlatformTarget)
  144. copy Editor.dll build\dist\$(PlatformTarget)
  145. copy config.txt build\dist\$(PlatformTarget)
  146. copy contrib\precompiled-sdl\$(PlatformTarget)\SDL2.dll build\dist\$(PlatformTarget)
  147. mkdir build\dist\$(PlatformTarget)\assets
  148. xcopy /e assets build\dist\$(PlatformTarget)\assets
  149. mkdir build\dist\$(PlatformTarget)\docs
  150. copy docs\changelog.txt build\dist\$(PlatformTarget)\docs
  151. copy LICENSE build\dist\$(PlatformTarget)\docs\COPYING.DOC
  152. copy docs\keycodes.html build\dist\$(PlatformTarget)\docs
  153. copy docs\macro.txt build\dist\$(PlatformTarget)\docs
  154. copy docs\platform_matrix.html build\dist\$(PlatformTarget)\docs</Command>
  155. </PostBuildEvent>
  156. </ItemDefinitionGroup>
  157. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  158. <ClCompile>
  159. <WarningLevel>Level3</WarningLevel>
  160. <Optimization>MaxSpeed</Optimization>
  161. <FunctionLevelLinking>true</FunctionLevelLinking>
  162. <IntrinsicFunctions>true</IntrinsicFunctions>
  163. <SDLCheck>false</SDLCheck>
  164. <ConformanceMode>true</ConformanceMode>
  165. <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;__WIN32__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  166. </ClCompile>
  167. <Link>
  168. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  169. <OptimizeReferences>true</OptimizeReferences>
  170. <SubSystem>Windows</SubSystem>
  171. <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  172. <AdditionalDependencies>SDL2main.lib;SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
  173. </Link>
  174. <PostBuildEvent>
  175. <Command>cd /d $(SolutionDir)..\..
  176. rd /s /q build\dist\$(PlatformTarget)
  177. mkdir build\dist\$(PlatformTarget)
  178. copy MegaZeux.exe build\dist\$(PlatformTarget)
  179. copy MZXRun.exe build\dist\$(PlatformTarget)
  180. copy Core.dll build\dist\$(PlatformTarget)
  181. copy Editor.dll build\dist\$(PlatformTarget)
  182. copy config.txt build\dist\$(PlatformTarget)
  183. copy contrib\precompiled-sdl\$(PlatformTarget)\SDL2.dll build\dist\$(PlatformTarget)
  184. mkdir build\dist\$(PlatformTarget)\assets
  185. xcopy /e assets build\dist\$(PlatformTarget)\assets
  186. mkdir build\dist\$(PlatformTarget)\docs
  187. copy docs\changelog.txt build\dist\$(PlatformTarget)\docs
  188. copy LICENSE build\dist\$(PlatformTarget)\docs\COPYING.DOC
  189. copy docs\keycodes.html build\dist\$(PlatformTarget)\docs
  190. copy docs\macro.txt build\dist\$(PlatformTarget)\docs
  191. copy docs\platform_matrix.html build\dist\$(PlatformTarget)\docs</Command>
  192. </PostBuildEvent>
  193. </ItemDefinitionGroup>
  194. <ItemGroup>
  195. <ClCompile Include="..\..\src\main.c" />
  196. <ClCompile Include="..\..\src\updater.c" />
  197. </ItemGroup>
  198. <ItemGroup>
  199. <ClInclude Include="..\..\src\updater.h" />
  200. <ClInclude Include="config.h" />
  201. </ItemGroup>
  202. <ItemGroup>
  203. <ProjectReference Include="Core.vcxproj">
  204. <Project>{48961a1d-dc1c-4714-93da-c1e185e4daae}</Project>
  205. </ProjectReference>
  206. <ProjectReference Include="Editor.vcxproj">
  207. <Project>{f706f6e6-15c4-4748-b478-59105cd1189f}</Project>
  208. </ProjectReference>
  209. </ItemGroup>
  210. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  211. <ImportGroup Label="ExtensionTargets">
  212. </ImportGroup>
  213. </Project>