Skip to content

Commit 9b29a3d

Browse files
committed
[WINDOWS] Add native VisualStudio solution/prohect files.
1 parent 0d49696 commit 9b29a3d

10 files changed

+2765
-1
lines changed

JerryScript.sln

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.1.32319.34
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Core", "jerry-core\Core.vcxproj", "{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}"
7+
EndProject
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Port", "jerry-port\Port.vcxproj", "{E450A595-5168-41A3-A000-933DD088E10D}"
9+
EndProject
10+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Extension", "jerry-ext\Extension.vcxproj", "{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}"
11+
EndProject
12+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Interpreter", "jerry-main\Interpreter.vcxproj", "{64473CA8-8AF8-4F8E-B985-C600984F70FB}"
13+
ProjectSection(ProjectDependencies) = postProject
14+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0} = {0A153A1E-0A1A-4A47-8D9E-051D37792CA0}
15+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780} = {8F7BE07A-7334-49B3-AC07-31AAD4D3A780}
16+
{E450A595-5168-41A3-A000-933DD088E10D} = {E450A595-5168-41A3-A000-933DD088E10D}
17+
EndProjectSection
18+
EndProject
19+
Global
20+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
21+
Debug|x64 = Debug|x64
22+
Debug|x86 = Debug|x86
23+
Release|x64 = Release|x64
24+
Release|x86 = Release|x86
25+
EndGlobalSection
26+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
27+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Debug|x64.ActiveCfg = Debug|x64
28+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Debug|x64.Build.0 = Debug|x64
29+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Debug|x86.ActiveCfg = Debug|Win32
30+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Debug|x86.Build.0 = Debug|Win32
31+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Release|x64.ActiveCfg = Release|x64
32+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Release|x64.Build.0 = Release|x64
33+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Release|x86.ActiveCfg = Release|Win32
34+
{0A153A1E-0A1A-4A47-8D9E-051D37792CA0}.Release|x86.Build.0 = Release|Win32
35+
{E450A595-5168-41A3-A000-933DD088E10D}.Debug|x64.ActiveCfg = Debug|x64
36+
{E450A595-5168-41A3-A000-933DD088E10D}.Debug|x64.Build.0 = Debug|x64
37+
{E450A595-5168-41A3-A000-933DD088E10D}.Debug|x86.ActiveCfg = Debug|Win32
38+
{E450A595-5168-41A3-A000-933DD088E10D}.Debug|x86.Build.0 = Debug|Win32
39+
{E450A595-5168-41A3-A000-933DD088E10D}.Release|x64.ActiveCfg = Release|x64
40+
{E450A595-5168-41A3-A000-933DD088E10D}.Release|x64.Build.0 = Release|x64
41+
{E450A595-5168-41A3-A000-933DD088E10D}.Release|x86.ActiveCfg = Release|Win32
42+
{E450A595-5168-41A3-A000-933DD088E10D}.Release|x86.Build.0 = Release|Win32
43+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Debug|x64.ActiveCfg = Debug|x64
44+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Debug|x64.Build.0 = Debug|x64
45+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Debug|x86.ActiveCfg = Debug|Win32
46+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Debug|x86.Build.0 = Debug|Win32
47+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Release|x64.ActiveCfg = Release|x64
48+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Release|x64.Build.0 = Release|x64
49+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Release|x86.ActiveCfg = Release|Win32
50+
{8F7BE07A-7334-49B3-AC07-31AAD4D3A780}.Release|x86.Build.0 = Release|Win32
51+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Debug|x64.ActiveCfg = Debug|x64
52+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Debug|x64.Build.0 = Debug|x64
53+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Debug|x86.ActiveCfg = Debug|Win32
54+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Debug|x86.Build.0 = Debug|Win32
55+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Release|x64.ActiveCfg = Release|x64
56+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Release|x64.Build.0 = Release|x64
57+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Release|x86.ActiveCfg = Release|Win32
58+
{64473CA8-8AF8-4F8E-B985-C600984F70FB}.Release|x86.Build.0 = Release|Win32
59+
EndGlobalSection
60+
GlobalSection(SolutionProperties) = preSolution
61+
HideSolutionNode = FALSE
62+
EndGlobalSection
63+
GlobalSection(ExtensibilityGlobals) = postSolution
64+
SolutionGuid = {EFA688E6-9F5D-41FA-B62A-A9D04DBA716C}
65+
EndGlobalSection
66+
EndGlobal

jerry-core/Core.vcxproj

+587
Large diffs are not rendered by default.

jerry-core/Core.vcxproj.filters

+1,372
Large diffs are not rendered by default.

jerry-core/ecma/base/ecma-helpers-conversion.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ ecma_number_to_uint32 (ecma_number_t num) /**< ecma-number */
721721
JERRY_ASSERT (num_in_uint32_range < uint64_2_pow_32);
722722
uint32_t uint32_num = (uint32_t) num_in_uint32_range;
723723

724-
const uint32_t ret = sign ? -uint32_num : uint32_num;
724+
const uint32_t ret = sign ? ~uint32_num : uint32_num;
725725

726726
#ifndef JERRY_NDEBUG
727727
if (sign && uint32_num != 0)

jerry-ext/Extension.vcxproj

+190
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
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|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+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<VCProjectVersion>16.0</VCProjectVersion>
23+
<Keyword>Win32Proj</Keyword>
24+
<ProjectGuid>{8f7be07a-7334-49b3-ac07-31aad4d3a780}</ProjectGuid>
25+
<RootNamespace>Extension</RootNamespace>
26+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
27+
</PropertyGroup>
28+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30+
<ConfigurationType>StaticLibrary</ConfigurationType>
31+
<UseDebugLibraries>true</UseDebugLibraries>
32+
<PlatformToolset>v143</PlatformToolset>
33+
<CharacterSet>MultiByte</CharacterSet>
34+
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36+
<ConfigurationType>StaticLibrary</ConfigurationType>
37+
<UseDebugLibraries>false</UseDebugLibraries>
38+
<PlatformToolset>v143</PlatformToolset>
39+
<WholeProgramOptimization>true</WholeProgramOptimization>
40+
<CharacterSet>MultiByte</CharacterSet>
41+
</PropertyGroup>
42+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
43+
<ConfigurationType>StaticLibrary</ConfigurationType>
44+
<UseDebugLibraries>true</UseDebugLibraries>
45+
<PlatformToolset>v143</PlatformToolset>
46+
<CharacterSet>MultiByte</CharacterSet>
47+
</PropertyGroup>
48+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49+
<ConfigurationType>StaticLibrary</ConfigurationType>
50+
<UseDebugLibraries>false</UseDebugLibraries>
51+
<PlatformToolset>v143</PlatformToolset>
52+
<WholeProgramOptimization>true</WholeProgramOptimization>
53+
<CharacterSet>MultiByte</CharacterSet>
54+
</PropertyGroup>
55+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56+
<ImportGroup Label="ExtensionSettings">
57+
</ImportGroup>
58+
<ImportGroup Label="Shared">
59+
</ImportGroup>
60+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
61+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62+
</ImportGroup>
63+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
64+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65+
</ImportGroup>
66+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
67+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68+
</ImportGroup>
69+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
70+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71+
</ImportGroup>
72+
<PropertyGroup Label="UserMacros" />
73+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
74+
<LinkIncremental>true</LinkIncremental>
75+
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
76+
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
77+
</PropertyGroup>
78+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79+
<LinkIncremental>false</LinkIncremental>
80+
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
81+
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
82+
</PropertyGroup>
83+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
84+
<LinkIncremental>true</LinkIncremental>
85+
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
86+
</PropertyGroup>
87+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
88+
<LinkIncremental>false</LinkIncremental>
89+
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
90+
</PropertyGroup>
91+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
92+
<ClCompile>
93+
<WarningLevel>Level3</WarningLevel>
94+
<SDLCheck>true</SDLCheck>
95+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96+
<ConformanceMode>true</ConformanceMode>
97+
<AdditionalIncludeDirectories>$(ProjectDir)include/;$(ProjectDir)common/;$(ProjectDir)../jerry-core/include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
98+
</ClCompile>
99+
<Link>
100+
<SubSystem>Console</SubSystem>
101+
<GenerateDebugInformation>true</GenerateDebugInformation>
102+
</Link>
103+
</ItemDefinitionGroup>
104+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
105+
<ClCompile>
106+
<WarningLevel>Level3</WarningLevel>
107+
<FunctionLevelLinking>true</FunctionLevelLinking>
108+
<IntrinsicFunctions>true</IntrinsicFunctions>
109+
<SDLCheck>true</SDLCheck>
110+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111+
<ConformanceMode>true</ConformanceMode>
112+
<AdditionalIncludeDirectories>$(ProjectDir)include/;$(ProjectDir)common/;$(ProjectDir)../jerry-core/include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
113+
</ClCompile>
114+
<Link>
115+
<SubSystem>Console</SubSystem>
116+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
117+
<OptimizeReferences>true</OptimizeReferences>
118+
<GenerateDebugInformation>true</GenerateDebugInformation>
119+
</Link>
120+
</ItemDefinitionGroup>
121+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
122+
<ClCompile>
123+
<WarningLevel>Level3</WarningLevel>
124+
<SDLCheck>true</SDLCheck>
125+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
126+
<ConformanceMode>true</ConformanceMode>
127+
<AdditionalIncludeDirectories>$(ProjectDir)include/;$(ProjectDir)common/;$(ProjectDir)../jerry-core/include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
128+
</ClCompile>
129+
<Link>
130+
<SubSystem>Console</SubSystem>
131+
<GenerateDebugInformation>true</GenerateDebugInformation>
132+
</Link>
133+
</ItemDefinitionGroup>
134+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
135+
<ClCompile>
136+
<WarningLevel>Level3</WarningLevel>
137+
<FunctionLevelLinking>true</FunctionLevelLinking>
138+
<IntrinsicFunctions>true</IntrinsicFunctions>
139+
<SDLCheck>true</SDLCheck>
140+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
141+
<ConformanceMode>true</ConformanceMode>
142+
<AdditionalIncludeDirectories>$(ProjectDir)include/;$(ProjectDir)common/;$(ProjectDir)../jerry-core/include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
143+
</ClCompile>
144+
<Link>
145+
<SubSystem>Console</SubSystem>
146+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
147+
<OptimizeReferences>true</OptimizeReferences>
148+
<GenerateDebugInformation>true</GenerateDebugInformation>
149+
</Link>
150+
</ItemDefinitionGroup>
151+
<ItemGroup>
152+
<ClInclude Include="arg\arg-internal.h" />
153+
<ClInclude Include="common\jext-common.h" />
154+
<ClInclude Include="debugger\debugger-sha1.h" />
155+
<ClInclude Include="include\jerryscript-ext\arg.h" />
156+
<ClInclude Include="include\jerryscript-ext\arg.impl.h" />
157+
<ClInclude Include="include\jerryscript-ext\autorelease.h" />
158+
<ClInclude Include="include\jerryscript-ext\autorelease.impl.h" />
159+
<ClInclude Include="include\jerryscript-ext\debugger.h" />
160+
<ClInclude Include="include\jerryscript-ext\handle-scope.h" />
161+
<ClInclude Include="include\jerryscript-ext\handlers.h" />
162+
<ClInclude Include="include\jerryscript-ext\module.h" />
163+
<ClInclude Include="include\jerryscript-ext\print.h" />
164+
<ClInclude Include="include\jerryscript-ext\properties.h" />
165+
<ClInclude Include="include\jerryscript-ext\repl.h" />
166+
<ClInclude Include="include\jerryscript-ext\sources.h" />
167+
<ClInclude Include="include\jerryscript-ext\test262.h" />
168+
</ItemGroup>
169+
<ItemGroup>
170+
<ClCompile Include="arg\arg-js-iterator-helper.c" />
171+
<ClCompile Include="arg\arg-transform-functions.c" />
172+
<ClCompile Include="arg\arg.c" />
173+
<ClCompile Include="debugger\debugger-common.c" />
174+
<ClCompile Include="debugger\debugger-rp.c" />
175+
<ClCompile Include="debugger\debugger-serial.c" />
176+
<ClCompile Include="debugger\debugger-sha1.c" />
177+
<ClCompile Include="debugger\debugger-tcp.c" />
178+
<ClCompile Include="debugger\debugger-ws.c" />
179+
<ClCompile Include="module\module.c" />
180+
<ClCompile Include="util\handlers.c" />
181+
<ClCompile Include="util\print.c" />
182+
<ClCompile Include="util\properties.c" />
183+
<ClCompile Include="util\repl.c" />
184+
<ClCompile Include="util\sources.c" />
185+
<ClCompile Include="util\test262.c" />
186+
</ItemGroup>
187+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
188+
<ImportGroup Label="ExtensionTargets">
189+
</ImportGroup>
190+
</Project>

0 commit comments

Comments
 (0)