Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update makefile for mingw gcc builds
- Loading branch information
Showing
12 changed files
with
63 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,43 @@ | ||
version: 7.6.{build} | ||
image: Visual Studio 2017 | ||
|
||
|
||
environment: | ||
matrix: | ||
- PlatformToolset: mingw-w64_730_X64 | ||
|
||
|
||
platform: | ||
- x64 | ||
- Win32 | ||
#- Win32 | ||
|
||
configuration: | ||
- Unicode Release | ||
- Unicode Debug | ||
#- Release | ||
- Debug | ||
|
||
install: | ||
- if "%platform%"=="x64" set archi=amd64 | ||
- if "%platform%"=="x64" set platform_input=x64 | ||
|
||
- if "%platform%"=="Win32" set archi=x86 | ||
- if "%platform%"=="Win32" set platform_input=Win32 | ||
|
||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi% | ||
|
||
|
||
- if "%PlatformToolset%"=="mingw-w64_730_X64" set PATH=C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin;%PATH:C:\Program Files\Git\usr\bin;=% | ||
|
||
build_script: | ||
- cd "%APPVEYOR_BUILD_FOLDER%"\scintilla\win32 | ||
- if "%configuration%"=="Unicode Debug" set scintilla_debug=DEBUG=1 | ||
- if "%configuration%"=="Unicode Release" set scintilla_debug= | ||
- nmake SUPPORT_XP=1 %scintilla_debug% -f scintilla.mak | ||
- cd "%APPVEYOR_BUILD_FOLDER%"\PowerEditor\visual.net\ | ||
- msbuild notepadPlus.vcxproj /p:configuration="%configuration%" /p:platform="%platform_input%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" | ||
|
||
after_build: | ||
- cd "%APPVEYOR_BUILD_FOLDER%" | ||
- ps: >- | ||
$nppFileName = "Notepad++.$env:PLATFORM_INPUT.$env:CONFIGURATION.exe" | ||
if ($env:PLATFORM_INPUT -eq "x64" -and $env:CONFIGURATION -eq "Unicode Release") { | ||
Push-AppveyorArtifact "PowerEditor\bin64\Notepad++.exe" -FileName "$nppFileName" | ||
} | ||
if ($env:PLATFORM_INPUT -eq "x64" -and $env:CONFIGURATION -eq "Unicode Debug") { | ||
Push-AppveyorArtifact "PowerEditor\visual.net\x64\Unicode Debug\Notepad++.exe" -FileName "$nppFileName" | ||
} | ||
if ($env:PLATFORM_INPUT -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Release") { | ||
Push-AppveyorArtifact "PowerEditor\bin\Notepad++.exe" -FileName "$nppFileName" | ||
} | ||
if ($env:PLATFORM_INPUT -eq "Win32" -and $env:CONFIGURATION -eq "Unicode Debug") { | ||
Push-AppveyorArtifact "PowerEditor\visual.net\Unicode Debug\Notepad++.exe" -FileName "$nppFileName" | ||
} | ||
Push-AppveyorArtifact "scintilla\bin\SciLexer.dll" -FileName "SciLexer.$env:PLATFORM.$env:CONFIGURATION.dll" | ||
- ps: | | ||
Write-Output "Configuration: $env:CONFIGURATION" | ||
Write-Output "Platform: $env:PLATFORM" | ||
Write-Output "Platform: $env:PLATFORMTOOLSET" | ||
cd c:\projects\notepad-plus-plus\scintilla\win32 | ||
#default build type is release | ||
if($env:CONFIGURATION -eq "Debug") | ||
{ | ||
#set DEBUG=1 | ||
} | ||
#mingw32-make | ||
cd c:\projects\notepad-plus-plus\PowerEditor\gcc\ | ||
& mingw32-make | ||