summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsethg <sethg@geographika.co.uk>2022-09-27 15:02:58 +0200
committersethg <sethg@geographika.co.uk>2022-09-27 15:02:58 +0200
commite45d8d0efd26ec5109229074fe5154b9dd47c927 (patch)
tree11c1fc4f833d8b3783bd83062365c205a8f1191e
parent1d47e11da960af502a09cd9d22a5832fa9413143 (diff)
downloadswig-e45d8d0efd26ec5109229074fe5154b9dd47c927.tar.gz
Split build and install
-rw-r--r--.github/workflows/nuget.yml9
-rw-r--r--Doc/Manual/Windows.html3
2 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml
index ca858b439..7b8174a1e 100644
--- a/.github/workflows/nuget.yml
+++ b/.github/workflows/nuget.yml
@@ -31,7 +31,7 @@ jobs:
nuget install Bison -Version 3.7.4 -OutputDirectory C:\Tools\bison
nuget install PCRE2 -Version 10.39 -OutputDirectory C:\Tools\pcre2
- - name: Build and Install
+ - name: Build
shell: powershell
run: |
$env:PATH="C:\Tools\CMake\CMake-win64.3.15.5\bin;C:\Tools\bison\Bison.3.7.4\bin;" + $env:PATH
@@ -45,7 +45,12 @@ jobs:
-DPCRE2_INCLUDE_DIR="$PCRE_ROOT/include" `
-DPCRE2_LIBRARY="$PCRE_ROOT/lib/pcre2-8-static.lib" `
-S . -B build
- cmake --build build --config Release --target install
+ cmake --build build --config Release
+
+ - name: Install
+ shell: powershell
+ run: |
+ cmake --install build --config Release
- name: Test
shell: powershell
diff --git a/Doc/Manual/Windows.html b/Doc/Manual/Windows.html
index 96518c464..c822d2ca3 100644
--- a/Doc/Manual/Windows.html
+++ b/Doc/Manual/Windows.html
@@ -282,7 +282,8 @@ cmake -G "Visual Studio 16 2019" -A "x64" `
-DPCRE2_LIBRARY="$PCRE_ROOT/lib/pcre2-8-static.lib" `
-S . -B build
-cmake --build build --config Release --target install
+cmake --build build --config Release
+cmake --install build --config Release
# to test the exe built correctly
cd install2/bin