Skip to content

Reactivate MSVC build and test#2

Open
salchint wants to merge 31 commits intomirror:masterfrom
salchint:master
Open

Reactivate MSVC build and test#2
salchint wants to merge 31 commits intomirror:masterfrom
salchint:master

Conversation

@salchint
Copy link
Copy Markdown

The msc folder has already included build project files for MSVC. I updated the existing ones to be compatible to Visual Studio 2017 and included steps for static code analysis. Additionally I created a CI pipeline on https://ci.appveyor.com/project/salchint/tclap and automatic deployment to https://bintray.com/salchint/tclap, which is not complete yet, but can be enhanced easily.

Thomas Strunz and others added 30 commits August 21, 2019 23:50
ToolsVersion '15.0' means Visual Studio 2017. I've let it stick to its
standared PlatformToolset of '14.1', which is relative to the MSVC
runtime libraries version that needs to be installed on the target
machines.
Keep the default settings including one VSBuild for x86/Release. [skip ci]
The MSTest project is intended to replay the shell script based tests.
The advantage is to get an standardized output for the azure build/test
pipeline.
Currently only test helpers test1..8 are built in the Windows build
scripts. So tests using other helpers are not executed yet.
AppVeyor supports deployment to JFrog's Bintray, which looks quite nice.
bintray.com/salching/tclap
* Use variables in artifact-path to make it unique
* Upload artifact to BinTray via api key
The link directs you to the download area of tclap on BinTray.
https://bintray.com/salchint/tclap
* Enable code analysis in the MSVC compiler

Here I introduce two different static code analysis tools. First the
MSVC built-in /analyze compiler switch. Second we call CppCheck if it is
installed (in a predefined path).

* Install build-prerequisite CppCheck

This is currently only true for the AppVeyor based build pipeline.
CppCheck is used in post-build steps if installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant