Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ipch/

xcuserdata/
/ci-build/
Hello World/build/

*.sublime-workspace

Expand Down
94 changes: 94 additions & 0 deletions Hello World/Hello World.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
<Configuration>Debug (3.2)</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug (3.4)|x64">
<Configuration>Debug (3.4)</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release (1.8)|Win32">
<Configuration>Release (1.8)</Configuration>
<Platform>Win32</Platform>
Expand Down Expand Up @@ -57,6 +61,10 @@
<Configuration>Release (3.2)</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release (3.4)|x64">
<Configuration>Release (3.4)</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{25BA2DB4-7E96-4095-89F9-CBA14FB0EC52}</ProjectGuid>
Expand Down Expand Up @@ -102,6 +110,12 @@
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug (3.4)|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug (1.8)|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
Expand Down Expand Up @@ -144,6 +158,12 @@
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release (3.4)|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release (1.8)|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
Expand Down Expand Up @@ -190,6 +210,11 @@
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>-RubyStartup "$(SolutionDir)Ruby\launch_sketchup.rb" -RubyStartupArg "$(Configuration):$(PlatformTarget)"</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug (3.4)|x64'">
<LocalDebuggerCommand>$(ProgramW6432)\SketchUp\SketchUp 2017\SketchUp.exe</LocalDebuggerCommand>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>-RubyStartup "$(SolutionDir)Ruby\launch_sketchup.rb" -RubyStartupArg "$(Configuration):$(PlatformTarget)"</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release (2.0)|Win32'">
<LocalDebuggerCommand>$(ProgramFiles)\SketchUp\SketchUp 2015\SketchUp.exe</LocalDebuggerCommand>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
Expand Down Expand Up @@ -220,6 +245,11 @@
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>-RubyStartup "$(SolutionDir)Ruby\launch_sketchup.rb" -RubyStartupArg "$(Configuration):$(PlatformTarget)"</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release (3.4)|x64'">
<LocalDebuggerCommand>$(ProgramW6432)\SketchUp\SketchUp 2017\SketchUp.exe</LocalDebuggerCommand>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>-RubyStartup "$(SolutionDir)Ruby\launch_sketchup.rb" -RubyStartupArg "$(Configuration):$(PlatformTarget)"</LocalDebuggerCommandArguments>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
Expand Down Expand Up @@ -253,6 +283,11 @@
<Import Project="..\RubyExtension.props" />
<Import Project="..\Ruby 3.2 (x64).props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug (3.4)|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.4 (x64).props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug (1.8)|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\RubyExtension.props" />
Expand Down Expand Up @@ -288,6 +323,11 @@
<Import Project="..\RubyExtension.props" />
<Import Project="..\Ruby 3.2 (x64).props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release (3.4)|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.4 (x64).props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release (1.8)|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\RubyExtension.props" />
Expand Down Expand Up @@ -322,6 +362,11 @@
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug (3.4)|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug (1.8)|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
Expand Down Expand Up @@ -353,6 +398,11 @@
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release (3.4)|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release (1.8)|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
Expand Down Expand Up @@ -470,6 +520,25 @@
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug (3.4)|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<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)'=='Debug (1.8)|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
Expand Down Expand Up @@ -639,6 +708,31 @@
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release (3.4)|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<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>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release (1.8)|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
Expand Down
108 changes: 108 additions & 0 deletions Hello World/SUEX_HelloWorld.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
F9086B192A9E18AD0055AF1F /* RubyLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 33CDE7B618270A4800F7C6E8 /* RubyLib.h */; };
F9086B1A2A9E18AD0055AF1F /* RubyUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 33CDE7B818270A4800F7C6E8 /* RubyUtils.h */; };
F9086B212A9E19150055AF1F /* Ruby.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F9086B202A9E19150055AF1F /* Ruby.framework */; };
F99D56163025F7DB001BFCC0 /* SUEX_HelloWorld.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 33CDE7AF182705EB00F7C6E8 /* SUEX_HelloWorld.cpp */; };
F99D56173025F7DB001BFCC0 /* RubyUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 33CDE7B718270A4800F7C6E8 /* RubyUtils.cpp */; };
F99D561B3025F7DB001BFCC0 /* RubyLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 33CDE7B618270A4800F7C6E8 /* RubyLib.h */; };
F99D561C3025F7DB001BFCC0 /* RubyUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 33CDE7B818270A4800F7C6E8 /* RubyUtils.h */; };
F99D56233025F810001BFCC0 /* Ruby.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F99D56223025F810001BFCC0 /* Ruby.framework */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -51,6 +56,8 @@
E9EA8AD41DAFC2510029551B /* Ruby.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Ruby.framework; path = ../ThirdParty/lib/mac/2.2/Ruby.framework; sourceTree = "<group>"; };
F9086B1E2A9E18AD0055AF1F /* SUEX_HelloWorld.bundle */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = SUEX_HelloWorld.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
F9086B202A9E19150055AF1F /* Ruby.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Ruby.framework; path = ../ThirdParty/lib/mac/3.2/Ruby.framework; sourceTree = "<group>"; };
F99D56203025F7DB001BFCC0 /* SUEX_HelloWorld.bundle */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = SUEX_HelloWorld.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
F99D56223025F810001BFCC0 /* Ruby.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Ruby.framework; path = ../ThirdParty/lib/mac/3.4/Ruby.framework; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -94,6 +101,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
F99D56183025F7DB001BFCC0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F99D56233025F810001BFCC0 /* Ruby.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -116,13 +131,15 @@
E939EB2D21120EE20023B67B /* SUEX_HelloWorld.bundle */,
E99766CB252CB0AD00B1D8E9 /* SUEX_HelloWorld.bundle */,
F9086B1E2A9E18AD0055AF1F /* SUEX_HelloWorld.bundle */,
F99D56203025F7DB001BFCC0 /* SUEX_HelloWorld.bundle */,
);
name = Products;
sourceTree = "<group>";
};
33CDE7B11827091E00F7C6E8 /* ThirdParty Frameworks */ = {
isa = PBXGroup;
children = (
F99D56213025F7F7001BFCC0 /* Ruby 3.4 */,
F9086B1F2A9E18F80055AF1F /* Ruby 3.2 */,
CEC02B3E26C66F9900934F5F /* Ruby 2.7 */,
E939EB2E211211400023B67B /* Ruby 2.5 */,
Expand Down Expand Up @@ -193,6 +210,14 @@
name = "Ruby 3.2";
sourceTree = "<group>";
};
F99D56213025F7F7001BFCC0 /* Ruby 3.4 */ = {
isa = PBXGroup;
children = (
F99D56223025F810001BFCC0 /* Ruby.framework */,
);
name = "Ruby 3.4";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -241,6 +266,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
F99D561A3025F7DB001BFCC0 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
F99D561B3025F7DB001BFCC0 /* RubyLib.h in Headers */,
F99D561C3025F7DB001BFCC0 /* RubyUtils.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -329,6 +363,23 @@
productReference = F9086B1E2A9E18AD0055AF1F /* SUEX_HelloWorld.bundle */;
productType = "com.apple.product-type.library.dynamic";
};
F99D56143025F7DB001BFCC0 /* Ruby 3.4 */ = {
isa = PBXNativeTarget;
buildConfigurationList = F99D561D3025F7DB001BFCC0 /* Build configuration list for PBXNativeTarget "Ruby 3.4" */;
buildPhases = (
F99D56153025F7DB001BFCC0 /* Sources */,
F99D56183025F7DB001BFCC0 /* Frameworks */,
F99D561A3025F7DB001BFCC0 /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = "Ruby 3.4";
productName = "Hello World";
productReference = F99D56203025F7DB001BFCC0 /* SUEX_HelloWorld.bundle */;
productType = "com.apple.product-type.library.dynamic";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -351,6 +402,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
F99D56143025F7DB001BFCC0 /* Ruby 3.4 */,
F9086B122A9E18AD0055AF1F /* Ruby 3.2 */,
E99766BF252CB0AD00B1D8E9 /* Ruby 2.7 */,
E939EB2021120EE20023B67B /* Ruby 2.5 */,
Expand Down Expand Up @@ -406,6 +458,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
F99D56153025F7DB001BFCC0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F99D56163025F7DB001BFCC0 /* SUEX_HelloWorld.cpp in Sources */,
F99D56173025F7DB001BFCC0 /* RubyUtils.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -703,6 +764,44 @@
};
name = Release;
};
F99D561E3025F7DB001BFCC0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = arm64;
CLANG_ENABLE_OBJC_WEAK = YES;
CONFIGURATION_BUILD_DIR = "$(SRCROOT)/../Debug (3.4)";
CONFIGURATION_TEMP_DIR = "$(PROJECT_TEMP_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/3.4";
DYLIB_COMPATIBILITY_VERSION = "";
DYLIB_CURRENT_VERSION = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)/../ThirdParty/lib/mac/3.4\"",
);
HEADER_SEARCH_PATHS = ../ThirdParty/include/ruby/3.4/mac;
MACOSX_DEPLOYMENT_TARGET = 10.13;
OTHER_CFLAGS = "-fdeclspec";
};
name = Debug;
};
F99D561F3025F7DB001BFCC0 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = arm64;
CLANG_ENABLE_OBJC_WEAK = YES;
CONFIGURATION_BUILD_DIR = "$(SRCROOT)/../Release (3.4)";
CONFIGURATION_TEMP_DIR = "$(PROJECT_TEMP_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/3.4";
DYLIB_COMPATIBILITY_VERSION = "";
DYLIB_CURRENT_VERSION = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)/../ThirdParty/lib/mac/3.4\"",
);
HEADER_SEARCH_PATHS = ../ThirdParty/include/ruby/3.4/mac;
MACOSX_DEPLOYMENT_TARGET = 10.13;
OTHER_CFLAGS = "-fdeclspec";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -760,6 +859,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F99D561D3025F7DB001BFCC0 /* Build configuration list for PBXNativeTarget "Ruby 3.4" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F99D561E3025F7DB001BFCC0 /* Debug */,
F99D561F3025F7DB001BFCC0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 33CDE5DC182703B100F7C6E8 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F99D56143025F7DB001BFCC0"
BuildableName = "SUEX_HelloWorld.bundle"
BlueprintName = "Ruby 3.4"
ReferencedContainer = "container:SUEX_HelloWorld.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
Expand Down
Loading