Skip to content

Commit b6b3a9f

Browse files
kendalharlandkendal
and
kendal
authored
Disable C++ exception handling for windows builds (#25)
* Enable C++ standard exception handling for windows build * Disable exception handling altogether --------- Co-authored-by: kendal <[email protected]>
1 parent 709d3f0 commit b6b3a9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/bcny-firebase.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ jobs:
7676
-D FIREBASE_INCLUDE_FIRESTORE=YES `
7777
-D FIREBASE_USE_BORINGSSL=YES `
7878
-D MSVC_RUNTIME_LIBRARY_STATIC=NO `
79+
-D CMAKE_C_FLAGS="/D_HAS_EXCEPTIONS=0 /EHsc-"`
80+
-D CMAKE_CXX_FLAGS="/D_HAS_EXCEPTIONS=0 /EHsc-" `
7981
-D CMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded `
8082
-D FIREBASE_PYTHON_HOST_EXECUTABLE:FILEPATH=${{ steps.python.outputs.python-path }} `
8183
-D FLATBUFFERS_FLATC_EXECUTABLE=${{ github.workspace }}/BinaryCache/flatbuffers/Release/flatc.exe

0 commit comments

Comments
 (0)