Skip to content

Commit

Permalink
update automated cmake-based builds
Browse files Browse the repository at this point in the history
* using new static option (#52), fixing #39
* moved common cmake options to a new environment variable CMAKE_OPTIONS
  • Loading branch information
GitMensch committed Mar 12, 2020
1 parent 7217f00 commit 31d1184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ platform:
- Win32

environment:
CMAKE_OPTIONS: "-A \"%platform%\" -DCMAKE_BUILD_TYPE=\"%configuration%\" -DUSE_STATIC_RUNTIME=ON"
# VS VERSION IN CMAKE STYLE
matrix:
- VSVERSION: "16 2019"
Expand All @@ -26,7 +27,7 @@ before_build:
- if "%APPVEYOR_REPO_TAG_NAME%"=="" ( set "APPVEYOR_REPO_TAG_NAME=dev-%VSVERSIONSHORT%-%platform%-%configuration%" )
- mkdir build
- cd build
- cmake -G "Visual Studio %VSVERSION%" -A "%platform%" -DCPACK_PACKAGE_VERSION="%APPVEYOR_REPO_TAG_NAME%" -DCMAKE_BUILD_TYPE="%configuration%" ..
- cmake -G "Visual Studio %VSVERSION%" -DCPACK_PACKAGE_VERSION="%APPVEYOR_REPO_TAG_NAME%" %CMAKE_OPTIONS% ..

build:
project: "build\\winflexbison.sln"
Expand Down

0 comments on commit 31d1184

Please sign in to comment.