Skip to content

Commit f326f2f

Browse files
authored
Merge pull request #632 from bigsinger/first-compile
First compile
2 parents 60f6081 + b36e9c4 commit f326f2f

38 files changed

+80
-258
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ build/miniblink.VC.db
66
build/miniblink.VC.VC.opendb
77
*.ipch
88
out/*
9-
bin/cookies.dat
9+
bin/cookies.dat
10+
*.user

3rdlib/ffmpeg.dll.lib

16.4 KB
Binary file not shown.

3rdlib/ffmpeg_x64.dll.lib

6.95 KB
Binary file not shown.

3rdlib/libcurl_a.lib

1.35 MB
Binary file not shown.

base/WindowsVersion.cpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22
#include "base/WindowsVersion.h"
33
#include <windows.h>
44

5+
6+
/////////////////////////////////////////////////
7+
// 临时找的这个地方,用来做三方lib库的链接,避免通过项目属性来设置,
8+
// 如有更好的地方,请转移。
9+
/////////////////////////////////////////////////
10+
#ifdef _WIN32
11+
#ifdef _WIN64
12+
//#pragma comment(lib, "../../3rdlib/libcurl_a.lib")
13+
#else
14+
#pragma comment(lib, "../../3rdlib/libcurl_a.lib")
15+
#endif // _WIN64
16+
#endif // _WIN32
17+
/////////////////////////////////////////////////
18+
19+
20+
521
namespace base {
622

723
WindowsVersion getWindowsVersion(int* major, int* minor)

build/angle/angle.vcxproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,13 +542,12 @@
542542
<ProjectGuid>{A28F4540-CD50-448E-8A05-27AF9606AA0B}</ProjectGuid>
543543
<Keyword>Win32Proj</Keyword>
544544
<RootNamespace>angle</RootNamespace>
545-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
546545
</PropertyGroup>
547546
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
548547
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
549548
<ConfigurationType>StaticLibrary</ConfigurationType>
550549
<UseDebugLibraries>true</UseDebugLibraries>
551-
<PlatformToolset>v141_xp</PlatformToolset>
550+
<PlatformToolset>v143</PlatformToolset>
552551
<CharacterSet>Unicode</CharacterSet>
553552
</PropertyGroup>
554553
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

build/electron/electron.vcxproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,12 @@
216216
<ProjectGuid>{419D9B69-AC50-49EA-9188-40FB63BE1C90}</ProjectGuid>
217217
<Keyword>Win32Proj</Keyword>
218218
<RootNamespace>electron</RootNamespace>
219-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
220219
</PropertyGroup>
221220
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
222221
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
223222
<ConfigurationType>Application</ConfigurationType>
224223
<UseDebugLibraries>true</UseDebugLibraries>
225-
<PlatformToolset>v141_xp</PlatformToolset>
224+
<PlatformToolset>v143</PlatformToolset>
226225
<CharacterSet>Unicode</CharacterSet>
227226
</PropertyGroup>
228227
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

build/harfbuzz/harfbuzz.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
<ProjectGuid>{E014DAC2-3EBF-4730-BAA4-81EBC7BE83C5}</ProjectGuid>
2727
<Keyword>Win32Proj</Keyword>
2828
<RootNamespace>ots</RootNamespace>
29-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
29+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
3030
</PropertyGroup>
3131
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
3232
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3333
<ConfigurationType>StaticLibrary</ConfigurationType>
3434
<UseDebugLibraries>true</UseDebugLibraries>
35-
<PlatformToolset>v141_xp</PlatformToolset>
35+
<PlatformToolset>v143</PlatformToolset>
3636
<CharacterSet>Unicode</CharacterSet>
3737
</PropertyGroup>
3838
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

build/libcurl/libcurl.vcxproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,13 +417,12 @@
417417
<Keyword>Win32Proj</Keyword>
418418
<RootNamespace>curl</RootNamespace>
419419
<ProjectName>libcurl</ProjectName>
420-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
421420
</PropertyGroup>
422421
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
423422
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
424423
<ConfigurationType>StaticLibrary</ConfigurationType>
425424
<UseDebugLibraries>true</UseDebugLibraries>
426-
<PlatformToolset>v141_xp</PlatformToolset>
425+
<PlatformToolset>v143</PlatformToolset>
427426
<CharacterSet>Unicode</CharacterSet>
428427
</PropertyGroup>
429428
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_vc6|Win32'" Label="Configuration">

build/libjpeg/libjpeg.vcxproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,12 @@
177177
<ProjectGuid>{9785535B-7FBE-49A2-9816-D7429D9A78ED}</ProjectGuid>
178178
<Keyword>Win32Proj</Keyword>
179179
<RootNamespace>libjpeg</RootNamespace>
180-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
181180
</PropertyGroup>
182181
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
183182
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
184183
<ConfigurationType>StaticLibrary</ConfigurationType>
185184
<UseDebugLibraries>true</UseDebugLibraries>
186-
<PlatformToolset>v141_xp</PlatformToolset>
185+
<PlatformToolset>v143</PlatformToolset>
187186
<CharacterSet>Unicode</CharacterSet>
188187
</PropertyGroup>
189188
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">

0 commit comments

Comments
 (0)