forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix OpenNI2 deploy Fix to deploy initialization file and drivers. * [openni2] Adjusting deployopenni2.ps1 paths * Fix Create Directory of OpenNI2 Drivers Fix create directory of OpenNI2 drivers. * Fix Deploy Script Path Fix deploy script path.
- Loading branch information
1 parent
dcea519
commit 6420361
Showing
4 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: openni2 | ||
Version: 2.2.0.33-4 | ||
Version: 2.2.0.33-7 | ||
Build-Depends: kinectsdk1 | ||
Description: OpenNI is open source library for access to Natural Interaction (NI) devices such as RGB-D camera. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Note: This function signature and behavior is depended upon by applocal.ps1 | ||
|
||
function deployOpenNI2([string]$targetBinaryDir, [string]$installedDir, [string]$targetBinaryName) { | ||
if ($targetBinaryName -like "OpenNI2.dll") { | ||
if(Test-Path "$installedDir\bin\OpenNI2\OpenNI.ini") { | ||
Write-Verbose " Deploying OpenNI2 Initialization" | ||
deployBinary "$targetBinaryDir" "$installedDir\bin\OpenNI2" "OpenNI.ini" | ||
} | ||
if(Test-Path "$installedDir\bin\OpenNI2\Drivers") { | ||
Write-Verbose " Deploying OpenNI2 Drivers" | ||
New-Item "$targetBinaryDir\OpenNI2\Drivers" -ItemType Directory -ErrorAction SilentlyContinue | Out-Null | ||
Get-ChildItem "$installedDir\bin\OpenNI2\Drivers\*.*" -include "*.dll","*.ini" | % { | ||
deployBinary "$targetBinaryDir\OpenNI2\Drivers" "$installedDir\bin\OpenNI2\Drivers" $_.Name | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters