Point sample packaging to shared branch checkout
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# GVFG Standalone SDK
|
||||
|
||||
這個 repository 維護 GVFG SDK。Customer 與 Internal Qt Sample 位於各自的
|
||||
Git worktree,不在這個 repository 內重複維護 Sample source。
|
||||
這個 repository 維護 GVFG SDK。Customer 與 Internal Qt Sample 使用同一個
|
||||
資料夾的兩條 Git branch。
|
||||
|
||||
這個 repo 以 GVFG 為 source of truth。其他專案應該透過 public header、
|
||||
import library、runtime DLL 來使用 GVFG,不要直接把 GVFG source 編進去。
|
||||
@@ -14,8 +14,8 @@ done-index 與舊 SDK frame-ring 流程不在相容範圍內。
|
||||
## 內容
|
||||
|
||||
- `GVFG_SDK`:獨立 SDK project,使用內嵌的 `GvfgSdk.lib` 建立 `gvfg.dll` 與選用的 `gvfg_preview.dll`。
|
||||
- `../Costomer_SDK_Release/GVFG_Customer_Sample`:乾淨的 Customer Sample worktree。
|
||||
- `../GVFG_Internal_Sample`:包含完整診斷 log 的 Internal Sample worktree。
|
||||
- `../Costomer_SDK_Release/GVFG_Customer_Sample`:`master` 為乾淨 Customer 版本,
|
||||
`internal/audio-diagnostics` 為完整診斷版本;切換前先提交修改。
|
||||
- `docs`:API 與整合說明。
|
||||
|
||||
Qt Sample 的 source boundary:
|
||||
@@ -42,10 +42,11 @@ DLL export 清單同步產生 MinGW `.dll.a`;兩種上層共用同一組 MSVC
|
||||
cmake -S GVFG_SDK -B GVFG_SDK/build/Desktop_Qt_6_10_2_MSVC2022_64bit-Release
|
||||
cmake --build GVFG_SDK/build/Desktop_Qt_6_10_2_MSVC2022_64bit-Release --config Release
|
||||
|
||||
cmake -S ..\GVFG_Internal_Sample -B ..\GVFG_Internal_Sample\build\Internal_MSVC2022_64bit-Debug ^
|
||||
cmake -S ..\Costomer_SDK_Release\GVFG_Customer_Sample -B ..\Costomer_SDK_Release\GVFG_Customer_Sample\build\Desktop_Qt_6_10_2_MSVC2022_64bit-Debug ^
|
||||
-DCMAKE_BUILD_TYPE=Debug ^
|
||||
-DCMAKE_PREFIX_PATH=C:\Qt\6.10.2\msvc2022_64 ^
|
||||
-DGVFG_SDK_RELEASE_DIR=%CD%\GVFG_SDK\build\Desktop_Qt_6_10_2_MSVC2022_64bit-Release
|
||||
cmake --build ..\GVFG_Internal_Sample\build\Internal_MSVC2022_64bit-Debug
|
||||
cmake --build ..\Costomer_SDK_Release\GVFG_Customer_Sample\build\Desktop_Qt_6_10_2_MSVC2022_64bit-Debug
|
||||
```
|
||||
|
||||
Qt Sample 只從一個固定的 `GVFG_SDK_RELEASE_DIR` 找 DLL 與對應 compiler
|
||||
@@ -70,7 +71,7 @@ GVFG_SDK/build/Desktop_Qt_6_10_2_MSVC2022_64bit-Release/lib/gvfg.lib
|
||||
GVFG_SDK/build/Desktop_Qt_6_10_2_MSVC2022_64bit-Release/lib/gvfg_preview.lib
|
||||
GVFG_SDK/build/Desktop_Qt_6_10_2_MSVC2022_64bit-Release/lib/libgvfg.dll.a
|
||||
GVFG_SDK/build/Desktop_Qt_6_10_2_MSVC2022_64bit-Release/lib/libgvfg_preview.dll.a
|
||||
../GVFG_Internal_Sample/build/Internal_MSVC2022_64bit-Debug/bin/gvfg_qt_preview.exe
|
||||
../Costomer_SDK_Release/GVFG_Customer_Sample/build/Desktop_Qt_6_10_2_MSVC2022_64bit-Debug/bin/gvfg_qt_preview.exe
|
||||
```
|
||||
|
||||
MSVC 上層連結 `gvfg.lib` 與 `gvfg_preview.lib`;MinGW 上層連結
|
||||
|
||||
Reference in New Issue
Block a user