Skip to content

Commit 59936d7

Browse files
committed
Initial commit
0 parents  commit 59936d7

File tree

9 files changed

+624
-0
lines changed

9 files changed

+624
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build and Package ClamshellMode
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
steps:
12+
- name: Checkout source code
13+
uses: actions/checkout@v4
14+
15+
- name: Add msbuild to PATH
16+
uses: microsoft/setup-msbuild@v2
17+
18+
- name: Build ClamshellMode
19+
run: msbuild ClamshellMode.sln /p:Configuration=Release /p:Platform=x64
20+
timeout-minutes: 30
21+
22+
- name: Create GitHub Release
23+
uses: softprops/action-gh-release@v2
24+
with:
25+
files: x64/Release/ClamshellMode.exe

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.vs/*
2+
x64/*
3+
ClamshellMode/x64/*

ClamshellMode.sln

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.9.34728.123
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ClamshellMode", "ClamshellMode\ClamshellMode.vcxproj", "{00D17E35-CC72-4AB6-BD74-0B71D77D7440}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|ARM = Debug|ARM
11+
Debug|x64 = Debug|x64
12+
Debug|x86 = Debug|x86
13+
Release|ARM = Release|ARM
14+
Release|x64 = Release|x64
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Debug|ARM.ActiveCfg = Debug|ARM
19+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Debug|ARM.Build.0 = Debug|ARM
20+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Debug|x64.ActiveCfg = Debug|x64
21+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Debug|x64.Build.0 = Debug|x64
22+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Debug|x86.ActiveCfg = Debug|Win32
23+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Debug|x86.Build.0 = Debug|Win32
24+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Release|ARM.ActiveCfg = Release|ARM
25+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Release|ARM.Build.0 = Release|ARM
26+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Release|x64.ActiveCfg = Release|x64
27+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Release|x64.Build.0 = Release|x64
28+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Release|x86.ActiveCfg = Release|Win32
29+
{00D17E35-CC72-4AB6-BD74-0B71D77D7440}.Release|x86.Build.0 = Release|Win32
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
GlobalSection(ExtensibilityGlobals) = postSolution
35+
SolutionGuid = {E8A4C49E-8E9F-4930-A59C-89443A5446D3}
36+
EndGlobalSection
37+
EndGlobal
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|ARM">
5+
<Configuration>Debug</Configuration>
6+
<Platform>ARM</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|Win32">
9+
<Configuration>Debug</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release|ARM">
13+
<Configuration>Release</Configuration>
14+
<Platform>ARM</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|Win32">
17+
<Configuration>Release</Configuration>
18+
<Platform>Win32</Platform>
19+
</ProjectConfiguration>
20+
<ProjectConfiguration Include="Debug|x64">
21+
<Configuration>Debug</Configuration>
22+
<Platform>x64</Platform>
23+
</ProjectConfiguration>
24+
<ProjectConfiguration Include="Release|x64">
25+
<Configuration>Release</Configuration>
26+
<Platform>x64</Platform>
27+
</ProjectConfiguration>
28+
</ItemGroup>
29+
<PropertyGroup Label="Globals">
30+
<VCProjectVersion>17.0</VCProjectVersion>
31+
<Keyword>Win32Proj</Keyword>
32+
<ProjectGuid>{00d17e35-cc72-4ab6-bd74-0b71d77d7440}</ProjectGuid>
33+
<RootNamespace>ClamshellMode</RootNamespace>
34+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
35+
<ProjectName>ClamshellMode</ProjectName>
36+
</PropertyGroup>
37+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
39+
<ConfigurationType>Application</ConfigurationType>
40+
<UseDebugLibraries>true</UseDebugLibraries>
41+
<PlatformToolset>v143</PlatformToolset>
42+
<CharacterSet>Unicode</CharacterSet>
43+
</PropertyGroup>
44+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
45+
<ConfigurationType>Application</ConfigurationType>
46+
<UseDebugLibraries>false</UseDebugLibraries>
47+
<PlatformToolset>v143</PlatformToolset>
48+
<WholeProgramOptimization>true</WholeProgramOptimization>
49+
<CharacterSet>Unicode</CharacterSet>
50+
</PropertyGroup>
51+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
52+
<ConfigurationType>Application</ConfigurationType>
53+
<UseDebugLibraries>true</UseDebugLibraries>
54+
<PlatformToolset>v143</PlatformToolset>
55+
<CharacterSet>Unicode</CharacterSet>
56+
</PropertyGroup>
57+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
58+
<ConfigurationType>Application</ConfigurationType>
59+
<UseDebugLibraries>true</UseDebugLibraries>
60+
<PlatformToolset>v143</PlatformToolset>
61+
<CharacterSet>Unicode</CharacterSet>
62+
</PropertyGroup>
63+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
64+
<ConfigurationType>Application</ConfigurationType>
65+
<UseDebugLibraries>false</UseDebugLibraries>
66+
<PlatformToolset>v143</PlatformToolset>
67+
<WholeProgramOptimization>true</WholeProgramOptimization>
68+
<CharacterSet>Unicode</CharacterSet>
69+
</PropertyGroup>
70+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
71+
<ConfigurationType>Application</ConfigurationType>
72+
<UseDebugLibraries>false</UseDebugLibraries>
73+
<PlatformToolset>v143</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="Shared">
81+
</ImportGroup>
82+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
83+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
84+
</ImportGroup>
85+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
87+
</ImportGroup>
88+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
89+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
90+
</ImportGroup>
91+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
92+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
93+
</ImportGroup>
94+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
95+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
96+
</ImportGroup>
97+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="PropertySheets">
98+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
99+
</ImportGroup>
100+
<PropertyGroup Label="UserMacros" />
101+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
102+
<ClCompile>
103+
<WarningLevel>Level3</WarningLevel>
104+
<SDLCheck>true</SDLCheck>
105+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
106+
<ConformanceMode>true</ConformanceMode>
107+
</ClCompile>
108+
<Link>
109+
<SubSystem>Console</SubSystem>
110+
<GenerateDebugInformation>true</GenerateDebugInformation>
111+
</Link>
112+
</ItemDefinitionGroup>
113+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
114+
<ClCompile>
115+
<WarningLevel>Level3</WarningLevel>
116+
<FunctionLevelLinking>true</FunctionLevelLinking>
117+
<IntrinsicFunctions>true</IntrinsicFunctions>
118+
<SDLCheck>true</SDLCheck>
119+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
120+
<ConformanceMode>true</ConformanceMode>
121+
</ClCompile>
122+
<Link>
123+
<SubSystem>Console</SubSystem>
124+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
125+
<OptimizeReferences>true</OptimizeReferences>
126+
<GenerateDebugInformation>true</GenerateDebugInformation>
127+
</Link>
128+
</ItemDefinitionGroup>
129+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
130+
<ClCompile>
131+
<WarningLevel>Level3</WarningLevel>
132+
<SDLCheck>true</SDLCheck>
133+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
134+
<ConformanceMode>true</ConformanceMode>
135+
<LanguageStandard_C>stdc17</LanguageStandard_C>
136+
</ClCompile>
137+
<Link>
138+
<SubSystem>Console</SubSystem>
139+
<GenerateDebugInformation>true</GenerateDebugInformation>
140+
</Link>
141+
</ItemDefinitionGroup>
142+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
143+
<ClCompile>
144+
<WarningLevel>Level3</WarningLevel>
145+
<SDLCheck>true</SDLCheck>
146+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
147+
<ConformanceMode>true</ConformanceMode>
148+
<LanguageStandard_C>stdc17</LanguageStandard_C>
149+
</ClCompile>
150+
<Link>
151+
<SubSystem>Console</SubSystem>
152+
<GenerateDebugInformation>true</GenerateDebugInformation>
153+
</Link>
154+
</ItemDefinitionGroup>
155+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
156+
<ClCompile>
157+
<WarningLevel>Level3</WarningLevel>
158+
<FunctionLevelLinking>true</FunctionLevelLinking>
159+
<IntrinsicFunctions>true</IntrinsicFunctions>
160+
<SDLCheck>true</SDLCheck>
161+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
162+
<ConformanceMode>true</ConformanceMode>
163+
</ClCompile>
164+
<Link>
165+
<SubSystem>Windows</SubSystem>
166+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
167+
<OptimizeReferences>true</OptimizeReferences>
168+
<GenerateDebugInformation>true</GenerateDebugInformation>
169+
</Link>
170+
</ItemDefinitionGroup>
171+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
172+
<ClCompile>
173+
<WarningLevel>Level3</WarningLevel>
174+
<FunctionLevelLinking>true</FunctionLevelLinking>
175+
<IntrinsicFunctions>true</IntrinsicFunctions>
176+
<SDLCheck>true</SDLCheck>
177+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
178+
<ConformanceMode>true</ConformanceMode>
179+
</ClCompile>
180+
<Link>
181+
<SubSystem>Windows</SubSystem>
182+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
183+
<OptimizeReferences>true</OptimizeReferences>
184+
<GenerateDebugInformation>true</GenerateDebugInformation>
185+
</Link>
186+
</ItemDefinitionGroup>
187+
<ItemGroup>
188+
<ClCompile Include="main.c" />
189+
</ItemGroup>
190+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
191+
<ImportGroup Label="ExtensionTargets">
192+
</ImportGroup>
193+
</Project>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<ClCompile Include="main.c">
19+
<Filter>Source Files</Filter>
20+
</ClCompile>
21+
</ItemGroup>
22+
</Project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup />
4+
</Project>

0 commit comments

Comments
 (0)