Game.vcxproj 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. </ItemGroup>
  13. <ItemGroup>
  14. <ClCompile Include="Actor.cpp" />
  15. <ClCompile Include="Asteroid.cpp" />
  16. <ClCompile Include="CircleComponent.cpp" />
  17. <ClCompile Include="Component.cpp" />
  18. <ClCompile Include="Game.cpp" />
  19. <ClCompile Include="InputComponent.cpp" />
  20. <ClCompile Include="InputSystem.cpp" />
  21. <ClCompile Include="Laser.cpp" />
  22. <ClCompile Include="Main.cpp" />
  23. <ClCompile Include="Math.cpp" />
  24. <ClCompile Include="MoveComponent.cpp" />
  25. <ClCompile Include="Random.cpp" />
  26. <ClCompile Include="Shader.cpp" />
  27. <ClCompile Include="Ship.cpp" />
  28. <ClCompile Include="SpriteComponent.cpp" />
  29. <ClCompile Include="Texture.cpp" />
  30. <ClCompile Include="VertexArray.cpp" />
  31. </ItemGroup>
  32. <ItemGroup>
  33. <ClInclude Include="Actor.h" />
  34. <ClInclude Include="Asteroid.h" />
  35. <ClInclude Include="CircleComponent.h" />
  36. <ClInclude Include="Component.h" />
  37. <ClInclude Include="Game.h" />
  38. <ClInclude Include="InputComponent.h" />
  39. <ClInclude Include="InputSystem.h" />
  40. <ClInclude Include="Laser.h" />
  41. <ClInclude Include="Math.h" />
  42. <ClInclude Include="MoveComponent.h" />
  43. <ClInclude Include="Random.h" />
  44. <ClInclude Include="Shader.h" />
  45. <ClInclude Include="Ship.h" />
  46. <ClInclude Include="SpriteComponent.h" />
  47. <ClInclude Include="Texture.h" />
  48. <ClInclude Include="VertexArray.h" />
  49. </ItemGroup>
  50. <ItemGroup>
  51. <None Include="Shaders\Basic.frag" />
  52. <None Include="Shaders\Basic.vert" />
  53. <None Include="Shaders\Sprite.frag" />
  54. <None Include="Shaders\Sprite.vert" />
  55. <None Include="Shaders\Transform.vert" />
  56. </ItemGroup>
  57. <PropertyGroup Label="Globals">
  58. <ProjectGuid>{BC508D87-495F-4554-932D-DD68388B63CC}</ProjectGuid>
  59. <Keyword>Win32Proj</Keyword>
  60. <RootNamespace>Game</RootNamespace>
  61. <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
  62. </PropertyGroup>
  63. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  64. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  65. <ConfigurationType>Application</ConfigurationType>
  66. <UseDebugLibraries>true</UseDebugLibraries>
  67. <PlatformToolset>v141</PlatformToolset>
  68. <CharacterSet>Unicode</CharacterSet>
  69. </PropertyGroup>
  70. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  71. <ConfigurationType>Application</ConfigurationType>
  72. <UseDebugLibraries>false</UseDebugLibraries>
  73. <PlatformToolset>v141</PlatformToolset>
  74. <WholeProgramOptimization>true</WholeProgramOptimization>
  75. <CharacterSet>Unicode</CharacterSet>
  76. </PropertyGroup>
  77. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  78. <ImportGroup Label="ExtensionSettings">
  79. </ImportGroup>
  80. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  81. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  82. </ImportGroup>
  83. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  84. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  85. </ImportGroup>
  86. <PropertyGroup Label="UserMacros" />
  87. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  88. <LinkIncremental>true</LinkIncremental>
  89. </PropertyGroup>
  90. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  91. <LinkIncremental>false</LinkIncremental>
  92. </PropertyGroup>
  93. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  94. <ClCompile>
  95. <PrecompiledHeader>NotUsing</PrecompiledHeader>
  96. <WarningLevel>Level3</WarningLevel>
  97. <Optimization>Disabled</Optimization>
  98. <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  99. <SDLCheck>true</SDLCheck>
  100. <AdditionalIncludeDirectories>..\external\SDL\include;..\external\GLEW\include;..\external\SOIL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  101. <RuntimeTypeInfo>false</RuntimeTypeInfo>
  102. <ExceptionHandling>Sync</ExceptionHandling>
  103. </ClCompile>
  104. <Link>
  105. <SubSystem>Console</SubSystem>
  106. <GenerateDebugInformation>true</GenerateDebugInformation>
  107. <AdditionalLibraryDirectories>..\external\SDL\lib\win\x86;..\external\GLEW\lib\win\x86;..\external\SOIL\lib\win\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  108. <AdditionalDependencies>opengl32.lib;SDL2.lib;SDL2main.lib;SDL2_ttf.lib;SDL2_mixer.lib;SDL2_image.lib;glew32.lib;SOIL.lib;%(AdditionalDependencies)</AdditionalDependencies>
  109. <AdditionalOptions>/NODEFAULTLIB:msvcrt.lib %(AdditionalOptions)</AdditionalOptions>
  110. </Link>
  111. <PostBuildEvent>
  112. <Command>xcopy "$(ProjectDir)\..\external\SDL\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
  113. xcopy "$(ProjectDir)\..\external\GLEW\lib\win\x86\*.dll" "$(OutDir)" /i /s /y</Command>
  114. </PostBuildEvent>
  115. </ItemDefinitionGroup>
  116. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  117. <ClCompile>
  118. <WarningLevel>Level3</WarningLevel>
  119. <PrecompiledHeader>NotUsing</PrecompiledHeader>
  120. <Optimization>MaxSpeed</Optimization>
  121. <FunctionLevelLinking>true</FunctionLevelLinking>
  122. <IntrinsicFunctions>true</IntrinsicFunctions>
  123. <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  124. <SDLCheck>true</SDLCheck>
  125. <AdditionalIncludeDirectories>..\external\SDL\include;..\external\GLEW\include;..\external\SOIL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  126. <RuntimeTypeInfo>false</RuntimeTypeInfo>
  127. <ExceptionHandling>Sync</ExceptionHandling>
  128. </ClCompile>
  129. <Link>
  130. <SubSystem>Console</SubSystem>
  131. <GenerateDebugInformation>true</GenerateDebugInformation>
  132. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  133. <OptimizeReferences>true</OptimizeReferences>
  134. <AdditionalLibraryDirectories>..\external\SDL\lib\win\x86;..\external\GLEW\lib\win\x86;..\external\SOIL\lib\win\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  135. <AdditionalDependencies>opengl32.lib;SDL2.lib;SDL2main.lib;SDL2_ttf.lib;SDL2_mixer.lib;SDL2_image.lib;glew32.lib;SOIL.lib;%(AdditionalDependencies)</AdditionalDependencies>
  136. </Link>
  137. <PostBuildEvent>
  138. <Command>xcopy "$(ProjectDir)\..\external\SDL\lib\win\x86\*.dll" "$(OutDir)" /i /s /y
  139. xcopy "$(ProjectDir)\..\external\GLEW\lib\win\x86\*.dll" "$(OutDir)" /i /s /y</Command>
  140. </PostBuildEvent>
  141. </ItemDefinitionGroup>
  142. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  143. <ImportGroup Label="ExtensionTargets">
  144. </ImportGroup>
  145. </Project>