Streamline GPS momentum plugin
This commit is contained in:
@@ -3,7 +3,7 @@ set -euo pipefail
|
||||
|
||||
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
plugin_dir="$repo_root/red4ext/EdgeWeightGPS"
|
||||
build_dir="$repo_root/build/red4ext/EdgeWeightGPS-mingw64"
|
||||
build_dir="$repo_root/build/red4ext/MomentumGPS-mingw64"
|
||||
sdk_dir="$repo_root/vendor/RED4ext.SDK"
|
||||
|
||||
if [[ ! -f "$sdk_dir/include/RED4ext/Api/v1/PluginInfo.hpp" ]]; then
|
||||
@@ -16,4 +16,4 @@ cmake -S "$plugin_dir" -B "$build_dir" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
cmake --build "$build_dir" --parallel
|
||||
|
||||
printf '%s\n' "$build_dir/EdgeWeightGPS.dll"
|
||||
printf '%s\n' "$build_dir/MomentumGPS.dll"
|
||||
|
||||
Reference in New Issue
Block a user