Skip to content

Commit 4860c7b

Browse files
Merge pull request #7 from chcg/appveyor2
appveyor config update
2 parents 5f3f281 + fc41ab0 commit 4860c7b

File tree

7 files changed

+19
-159
lines changed

7 files changed

+19
-159
lines changed

DockingFeature/GoToLineDlg.cpp

Lines changed: 0 additions & 56 deletions
This file was deleted.

DockingFeature/GoToLineDlg.h

Lines changed: 0 additions & 52 deletions
This file was deleted.

DockingFeature/goLine.rc

Lines changed: 0 additions & 33 deletions
This file was deleted.

NppPluginTemplate.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@
2727
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2828
<ConfigurationType>DynamicLibrary</ConfigurationType>
2929
<UseDebugLibraries>true</UseDebugLibraries>
30-
<PlatformToolset>v120_xp</PlatformToolset>
30+
<PlatformToolset>v140_xp</PlatformToolset>
3131
<CharacterSet>Unicode</CharacterSet>
3232
</PropertyGroup>
3333
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
3434
<ConfigurationType>DynamicLibrary</ConfigurationType>
3535
<UseDebugLibraries>true</UseDebugLibraries>
36-
<PlatformToolset>v120_xp</PlatformToolset>
36+
<PlatformToolset>v140_xp</PlatformToolset>
3737
<CharacterSet>Unicode</CharacterSet>
3838
</PropertyGroup>
3939
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
4040
<ConfigurationType>DynamicLibrary</ConfigurationType>
4141
<UseDebugLibraries>false</UseDebugLibraries>
42-
<PlatformToolset>v120_xp</PlatformToolset>
42+
<PlatformToolset>v140_xp</PlatformToolset>
4343
<WholeProgramOptimization>true</WholeProgramOptimization>
4444
<CharacterSet>Unicode</CharacterSet>
4545
</PropertyGroup>
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4747
<ConfigurationType>DynamicLibrary</ConfigurationType>
4848
<UseDebugLibraries>false</UseDebugLibraries>
49-
<PlatformToolset>v120_xp</PlatformToolset>
49+
<PlatformToolset>v140_xp</PlatformToolset>
5050
<WholeProgramOptimization>true</WholeProgramOptimization>
5151
<CharacterSet>Unicode</CharacterSet>
5252
</PropertyGroup>

Resources.aps

-35.2 KB
Binary file not shown.

Resources.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Microsoft Visual C++ generated resource script.
1+
// Microsoft Visual C++ generated resource script.
22
//
33
#include "resource1.h"
44

appveyor.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version: 2.2.{build}
2-
image: Visual Studio 2015
2+
image: Visual Studio 2017
33

44

55
environment:
66
matrix:
7-
- PlatformToolset: v120_xp
87
- PlatformToolset: v140_xp
8+
- PlatformToolset: v141_xp
99

1010
platform:
1111
- x64
@@ -18,35 +18,36 @@ configuration:
1818

1919
install:
2020
- if "%platform%"=="x64" set archi=amd64
21+
- if "%platform%"=="x64" set platform_input=x64
22+
2123
- if "%platform%"=="Win32" set archi=x86
22-
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
24+
- if "%platform%"=="Win32" set platform_input=Win32
2325

24-
build:
25-
parallel: true # enable MSBuild parallel builds
26-
verbosity: minimal
26+
- if "%PlatformToolset%"=="v140_xp" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
27+
- if "%PlatformToolset%"=="v141_xp" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
2728

2829
build_script:
2930
- cd "%APPVEYOR_BUILD_FOLDER%"
30-
- msbuild NppPluginTemplate.vcxproj /m /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%"
31+
- msbuild NppPluginTemplate.vcxproj /m /p:configuration="%configuration%" /p:platform="%platform_input%" /p:PlatformToolset="%PlatformToolset%"
3132

3233
after_build:
3334
- cd "%APPVEYOR_BUILD_FOLDER%"
3435
- ps: >-
3536
36-
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Release") {
37+
if ($env:PLATFORM_INPUT -eq "x64" -and $env:CONFIGURATION -eq "Release") {
3738
Push-AppveyorArtifact "bin64\SecurePad.dll" -FileName SecurePad.dll
3839
}
3940
40-
if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Release") {
41+
if ($env:PLATFORM_INPUT -eq "Win32" -and $env:CONFIGURATION -eq "Release") {
4142
Push-AppveyorArtifact "bin\SecurePad.dll" -FileName SecurePad.dll
4243
}
4344
44-
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v120_xp") {
45-
if($env:PLATFORM -eq "x64"){
45+
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v140_xp") {
46+
if($env:PLATFORM_INPUT -eq "x64"){
4647
$ZipFileName = "SecurePad_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
4748
7z a $ZipFileName .\bin64\SecurePad.dll
4849
}
49-
if($env:PLATFORM -eq "Win32"){
50+
if($env:PLATFORM_INPUT -eq "Win32"){
5051
$ZipFileName = "SecurePad_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip"
5152
7z a $ZipFileName .\bin\SecurePad.dll
5253
}
@@ -66,5 +67,5 @@ deploy:
6667
force_update: true
6768
on:
6869
appveyor_repo_tag: true
69-
PlatformToolset: v120_xp
70+
PlatformToolset: v140_xp
7071
configuration: Release

0 commit comments

Comments
 (0)