CMake update for try-compile with DLLs (#593)

This commit is contained in:
Chuck Walbourn
2025-03-07 17:38:04 -08:00
committed by GitHub
parent c0606824c9
commit 1085e4fef4
7 changed files with 249 additions and 50 deletions

View File

@@ -70,3 +70,15 @@ jobs:
- name: 'Build'
working-directory: ${{ github.workspace }}
run: cmake --build out\build\${{ matrix.build_type }}
- name: 'Clean up'
working-directory: ${{ github.workspace }}
run: Remove-Item -Path out -Recurse -Force
- name: 'Configure CMake (DLL)'
working-directory: ${{ github.workspace }}
run: cmake --preset=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=ON
- name: 'Build (DLL)'
working-directory: ${{ github.workspace }}
run: cmake --build out\build\${{ matrix.build_type }}