feat: 完善 STEP 一级参数化编辑识别与关系式建模
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
param(
|
||||
[string]$Configuration = "Release"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..")
|
||||
$sourceDir = Join-Path $repoRoot "tools\asitus_probe"
|
||||
$buildDir = Join-Path $repoRoot "third_party\asitus_probe_tools_build"
|
||||
|
||||
cmake -S $sourceDir -B $buildDir -A x64
|
||||
cmake --build $buildDir --config $Configuration
|
||||
|
||||
$exePath = Join-Path $buildDir "$Configuration\recognize_holes.exe"
|
||||
if (-not (Test-Path $exePath)) {
|
||||
throw "Analysis Situs probe build finished but recognize_holes.exe was not found: $exePath"
|
||||
}
|
||||
|
||||
Write-Host "Analysis Situs probe built: $exePath"
|
||||
Reference in New Issue
Block a user