feat: implemented wrapper and pdf doc page

This commit is contained in:
Furqan-14
2026-05-22 15:47:48 +05:30
parent d4fe33b007
commit fe627f4e19
55 changed files with 5074 additions and 101 deletions
+15
View File
@@ -0,0 +1,15 @@
$vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
if (-not (Test-Path $vcvars)) {
$vcvars = "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
}
if (Test-Path $vcvars) {
cmd /c "`"$vcvars`" && set" | Where-Object { $_ -match '=' } | ForEach-Object {
$name, $value = $_ -split '=', 2
[System.Environment]::SetEnvironmentVariable($name, $value, 'Process')
}
}
Write-Host "Running C++ core unit tests..." -ForegroundColor Cyan
ctest --preset win-local-pdfium
exit $LASTEXITCODE