mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
Add option 'MSVC_STATIC' (#6358)
* Add option 'MSVC_STATIC' * Update CMakeLists.txt * Update CMakeLists.txt * Upload msvc-static-build.yml
This commit is contained in:
parent
00cf5ed4c7
commit
b0d0c36b11
3 changed files with 42 additions and 0 deletions
20
.github/workflows/msvc-static-build.yml
vendored
Normal file
20
.github/workflows/msvc-static-build.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: MSVC Static Build
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-2019
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DZ3_BUILD_LIBZ3_SHARED=OFF -DZ3_BUILD_LIBZ3_MSVC_STATIC=ON
|
||||
cmake --build build --config ${{ env.BUILD_TYPE }} --parallel
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue