diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 01c328228..767475b79 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -173,7 +173,7 @@ jobs: -DBUILD_SHARED_LIBS:BOOL=ON cmake --build build cmake --install build - cd build && cp ./lib/librime.dll ./test + cd build && cp ./bin/librime.dll ./test ctest --output-on-failure - name: Create distributable diff --git a/README-windows.md b/README-windows.md index afe9cd64d..38bcc449e 100644 --- a/README-windows.md +++ b/README-windows.md @@ -49,7 +49,7 @@ This builds dependent libraries in `librime\deps\*`, and copies artifacts to ``` batch build.bat librime ``` -This creates `build\lib\Release\rime.dll`. +This creates `build\bin\Release\rime.dll`. Build artifacts - the shared library along with API headers and supporting files are gathered in `dist` directory. @@ -60,7 +60,6 @@ are gathered in `dist` directory. is working. ``` batch -copy /Y build\lib\Release\rime.dll build\bin cd build\bin echo congmingdeRime{space}shurufa | Release\rime_api_console.exe > output.txt ```