Skip to content

Commit

Permalink
Ruby 3.1 VS config.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomthom committed Nov 3, 2022
1 parent 1dfb705 commit fcda240
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)ThirdParty\include\ruby310\win32_x64;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(SolutionDir)ThirdParty\lib\win\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>x64-msvcrt-ruby310.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<Configuration>Debug 2.7</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug 3.1|x64">
<Configuration>Debug 3.1</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release 2.2|x64">
<Configuration>Release 2.2</Configuration>
<Platform>x64</Platform>
Expand All @@ -41,6 +45,10 @@
<Configuration>Release 2.7</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release 3.1|x64">
<Configuration>Release 3.1</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1456285A-3D25-4B13-BF30-DBAEDEB87C22}</ProjectGuid>
Expand Down Expand Up @@ -80,6 +88,12 @@
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 3.1|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 2.0|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
Expand Down Expand Up @@ -110,6 +124,12 @@
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 3.1|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
Expand All @@ -134,6 +154,11 @@
<Import Project="Ruby 2.5 (x64).props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 2.7|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="RubyExtension.props" />
<Import Project="Ruby 3.1 (x64).props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 3.1|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="RubyExtension.props" />
<Import Project="Ruby 2.7 (x64).props" />
Expand Down Expand Up @@ -163,6 +188,11 @@
<Import Project="RubyExtension.props" />
<Import Project="Ruby 2.7 (x64).props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release 3.1|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="RubyExtension.props" />
<Import Project="Ruby 3.1 (x64).props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 2.0|Win32'">
<LinkIncremental>true</LinkIncremental>
Expand All @@ -179,6 +209,9 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 2.7|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 3.1|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 2.0|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
Expand All @@ -194,6 +227,9 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 2.7|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 3.1|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 2.0|Win32'">
<LocalDebuggerCommand>$(ProgramFiles)\SketchUp\SketchUp 2014\SketchUp.exe</LocalDebuggerCommand>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
Expand All @@ -219,6 +255,11 @@
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>-RubyStartup "$(SolutionDir)/Ruby/debug.rb"</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 3.1|x64'">
<LocalDebuggerCommand>$(ProgramFiles)\SketchUp\SketchUp 2014\SketchUp.exe</LocalDebuggerCommand>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>-RubyStartup "$(SolutionDir)/Ruby/debug.rb"</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup>
<ShowAllFiles>false</ShowAllFiles>
</PropertyGroup>
Expand Down Expand Up @@ -247,6 +288,11 @@
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommand>$(ProgramFiles)\SketchUp\SketchUp 2014\SketchUp.exe</LocalDebuggerCommand>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 3.1|x64'">
<LocalDebuggerCommandArguments>-RubyStartup "$(SolutionDir)/Ruby/release.rb"</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommand>$(ProgramFiles)\SketchUp\SketchUp 2014\SketchUp.exe</LocalDebuggerCommand>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 2.0|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
Expand Down Expand Up @@ -337,6 +383,24 @@
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 3.1|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Midl>
<MkTypLibCompatible>false</MkTypLibCompatible>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</Midl>
<ResourceCompile>
<Culture>0x0409</Culture>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 2.0|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
Expand Down Expand Up @@ -457,6 +521,30 @@
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 3.1|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Midl>
<MkTypLibCompatible>false</MkTypLibCompatible>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</Midl>
<ResourceCompile>
<Culture>0x0409</Culture>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="Exports.def" />
</ItemGroup>
Expand Down
14 changes: 12 additions & 2 deletions ruby-c-extension/sketchup-taskbarlist/TestUp.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30517.126
# Visual Studio Version 17
VisualStudioVersion = 17.3.32929.385
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TaskbarProgress", "TaskbarProgress\TaskbarProgress.vcxproj", "{1456285A-3D25-4B13-BF30-DBAEDEB87C22}"
EndProject
Expand All @@ -15,6 +15,8 @@ Global
Debug 2.5|x64 = Debug 2.5|x64
Debug 2.7|Win32 = Debug 2.7|Win32
Debug 2.7|x64 = Debug 2.7|x64
Debug 3.1|Win32 = Debug 3.1|Win32
Debug 3.1|x64 = Debug 3.1|x64
Release 2.0|Win32 = Release 2.0|Win32
Release 2.0|x64 = Release 2.0|x64
Release 2.2|Win32 = Release 2.2|Win32
Expand All @@ -23,6 +25,8 @@ Global
Release 2.5|x64 = Release 2.5|x64
Release 2.7|Win32 = Release 2.7|Win32
Release 2.7|x64 = Release 2.7|x64
Release 3.1|Win32 = Release 3.1|Win32
Release 3.1|x64 = Release 3.1|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Debug 2.0|Win32.ActiveCfg = Debug 2.0|Win32
Expand All @@ -38,6 +42,9 @@ Global
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Debug 2.7|Win32.ActiveCfg = Debug 2.7|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Debug 2.7|x64.ActiveCfg = Debug 2.7|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Debug 2.7|x64.Build.0 = Debug 2.7|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Debug 3.1|Win32.ActiveCfg = Debug 3.1|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Debug 3.1|x64.ActiveCfg = Debug 3.1|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Debug 3.1|x64.Build.0 = Debug 3.1|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 2.0|Win32.ActiveCfg = Release 2.0|Win32
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 2.0|Win32.Build.0 = Release 2.0|Win32
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 2.0|x64.ActiveCfg = Release 2.0|x64
Expand All @@ -51,6 +58,9 @@ Global
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 2.7|Win32.ActiveCfg = Release 2.7|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 2.7|x64.ActiveCfg = Release 2.7|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 2.7|x64.Build.0 = Release 2.7|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 3.1|Win32.ActiveCfg = Release 3.1|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 3.1|x64.ActiveCfg = Release 3.1|x64
{1456285A-3D25-4B13-BF30-DBAEDEB87C22}.Release 3.1|x64.Build.0 = Release 3.1|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit fcda240

Please sign in to comment.