We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e30bd4b commit cfc5e06Copy full SHA for cfc5e06
extension/BuildPhpExtension/private/Add-Extension.ps1
@@ -36,6 +36,9 @@ Function Add-Extension {
36
$builder = "$currentDirectory\php-sdk\phpsdk-$($Config.vs_version)-$($Config.Arch).bat"
37
$task = (Get-Item -Path "." -Verbose).FullName + "\$Extension-task.bat"
38
& $builder -t $task
39
+ $includePath = "$currentDirectory\php-dev\include"
40
+ New-Item -Path $includePath\ext -Name $Extension -ItemType "directory" | Out-Null
41
+ Copy-Item "*.h" -Destination "$includePath\ext\$Extension" -Recurse
42
Set-Location $currentDirectory
43
}
44
end {
0 commit comments