2
0

Game.vcxproj 7.2 KB

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