init
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
. (Join-Path $toolsPath "GetHDFPostBuildCmd.ps1")
|
||||
|
||||
# Get the current Post Build Event cmd
|
||||
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
|
||||
|
||||
# Append our post build command if it's not already there
|
||||
if (!$currentPostBuildCmd.Contains($HDFPostBuildCmd)) {
|
||||
$project.Properties.Item("PostBuildEvent").Value += $HDFPostBuildCmd
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
$solutionDir = [System.IO.Path]::GetDirectoryName($dte.Solution.FullName) + "\"
|
||||
$path = $installPath.Replace($solutionDir, "`$(SolutionDir)")
|
||||
|
||||
$NativeAssembliesDir = Join-Path $path "lib\native"
|
||||
$x86 = $(Join-Path $NativeAssembliesDir "bin32\*.*")
|
||||
$x64 = $(Join-Path $NativeAssembliesDir "bin64\*.*")
|
||||
|
||||
$HDFPostBuildCmd = "
|
||||
if not exist `"`$(TargetDir)bin32`" md `"`$(TargetDir)bin32`"
|
||||
xcopy /s /y `"$x86`" `"`$(TargetDir)bin32`"
|
||||
if not exist `"`$(TargetDir)bin64`" md `"`$(TargetDir)bin64`"
|
||||
xcopy /s /y `"$x64`" `"`$(TargetDir)bin64`""
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user