diff options
| author | yum <yum.food.vr@gmail.com> | 2023-02-22 22:41:11 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-02-22 22:41:11 -0800 |
| commit | abb47b420739f25bd48f5a7ce2cb4b2d4b063d45 (patch) | |
| tree | 541b22e577d70b1742728009d7c9a8e8f7481a52 /GUI/Libraries | |
| parent | 718319ee7b79d7cdbead5d765769b50c25e968f4 (diff) | |
Begin sketching out browser source
* Fix oatpp fetch and build
Diffstat (limited to 'GUI/Libraries')
| -rw-r--r-- | GUI/Libraries/fetch.ps1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/GUI/Libraries/fetch.ps1 b/GUI/Libraries/fetch.ps1 index 218d48b..550dfa5 100644 --- a/GUI/Libraries/fetch.ps1 +++ b/GUI/Libraries/fetch.ps1 @@ -86,8 +86,14 @@ if (-Not (Test-Path oatpp)) { pushd $OATPP_DIR > $null mkdir build pushd build > $null - cmake.exe .. -DCMAKE_BUILD_TYPE=Release -DOATPP_BUILD_TESTS=OFF + cmake.exe .. ` + -DCMAKE_BUILD_TYPE=Release ` + -DBUILD_SHARED_LIBS=OFF ` + -DOATPP_MSVC_LINK_STATIC_RUNTIME=ON ` + -DOATPP_BUILD_TESTS=OFF cmake.exe --build . -j $NPROC --config Release + cp src/Release/oatpp.lib ../../../../GUI/GUI/oatpp/ + cp -Recurse ../src/oatpp/* ../../../../GUI/GUI/oatpp/ popd > $null popd > $null } |
