Skip to content

Commit

Permalink
Generalize ClangCl Toolset: Env Variable
Browse files Browse the repository at this point in the history
Ensure the `test_install` uses the same toolset as the build
and install.
  • Loading branch information
ax3l committed Mar 15, 2024
1 parent 779f1f6 commit 2db54c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ jobs:
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Build & Install
shell: cmd
env:
CMAKE_GENERATOR_TOOLSET: "ClangCl"
CMAKE_GENERATOR: "Visual Studio 17 2022"
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
cmake -S . -B build ^
-T "ClangCl" ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=ON ^
-DCMAKE_VERBOSE_MAKEFILE=ON ^
Expand Down

0 comments on commit 2db54c6

Please sign in to comment.