From 49f2b248b93819daaa754044d70c4733d97a2ace Mon Sep 17 00:00:00 2001 From: Hoang Tung Dinh Date: Mon, 26 Aug 2024 10:54:19 +0200 Subject: [PATCH] Update build config for XercesC to Release (#141) Signed-off-by: hoangtungdinh <11166240+hoangtungdinh@users.noreply.github.com> --- .github/workflows/build-on-change-windows.yaml | 4 ++-- INSTALL.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-on-change-windows.yaml b/.github/workflows/build-on-change-windows.yaml index 46b40681..d51e5246 100644 --- a/.github/workflows/build-on-change-windows.yaml +++ b/.github/workflows/build-on-change-windows.yaml @@ -84,8 +84,8 @@ jobs: mkdir build cd build cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX="$env:WORKING_PATH\Xerces-Out" .. - cmake --build . --config Debug - cmake --build . --config Debug --target install + cmake --build . --config Release + cmake --build . --config Release --target install Add-Content $env:GITHUB_PATH "$env:WORKING_PATH\bin\xerces-c_3_2D.dll" Add-Content $env:GITHUB_PATH "$env:WORKING_PATH\Xerces-Out\include" diff --git a/INSTALL.md b/INSTALL.md index c5855cf3..beaed115 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -78,8 +78,8 @@ cd "$env:WORKING_PATH\xerces-c-3.2.5" mkdir build cd build cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX="$env:WORKING_PATH\Xerces-Out" .. -cmake --build . --config Debug -cmake --build . --config Debug --target install +cmake --build . --config Release +cmake --build . --config Release --target install ``` For Windows Visual Studio 16 2019 an example CMake call to build the framework