add visualc project

submit_rewrite
cosmonaut 2020-12-17 16:57:10 -08:00
parent 501a9d61a2
commit ef5577727f
4 changed files with 390 additions and 1 deletions

View File

@ -80,7 +80,6 @@ set_target_properties(Refresh PROPERTIES OUTPUT_NAME "Refresh"
if (DEFINED SDL2_INCLUDE_DIRS AND DEFINED SDL2_LIBRARIES)
message(STATUS "using pre-defined SDL2 variables SDL2_INCLUDE_DIRS and SDL2_LIBRARIES")
target_include_directories(Refresh PUBLIC "$<BUILD_INTERFACE:${SDL2_INCLUDE_DIRS}>")
target_include_directories(mojoshader PUBLIC "$<BUILD_INTERFACE:${SDL2_INCLUDE_DIRS}>")
target_link_libraries(Refresh PUBLIC ${SDL2_LIBRARIES})
else()
# Only try to autodetect if both SDL2 variables aren't explicitly set

31
visualc/Refresh.sln Normal file
View File

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30717.126
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Refresh", "Refresh.vcxproj", "{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
MinSizeRel|x64 = MinSizeRel|x64
Release|x64 = Release|x64
RelWithDebInfo|x64 = RelWithDebInfo|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.Debug|x64.ActiveCfg = Debug|x64
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.Debug|x64.Build.0 = Debug|x64
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.Release|x64.ActiveCfg = Release|x64
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.Release|x64.Build.0 = Release|x64
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{EAFA534D-20B4-33CE-B6A8-7E9750CE52D5}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7B2DB465-0A55-3811-9EF4-A520B47653D2}
EndGlobalSection
EndGlobal

326
visualc/Refresh.vcxproj Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="D:\Dev\Games\Refresh\src\Refresh.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="D:\Dev\Games\Refresh\src\Refresh_Driver_Vulkan.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="D:\Dev\Games\Refresh\include\Refresh.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="D:\Dev\Games\Refresh\src\Refresh_Driver.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="D:\Dev\Games\Refresh\src\Refresh_Driver_Vulkan_vkfuncs.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="D:\Dev\Games\Refresh\CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{3C728F3F-55A0-36BC-BEF0-5EEFAF91EE25}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{B2BA146C-CAA1-30BE-B7A9-F8D02673EA0C}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>