diff options
author | Patrick Lehmann <Patrick.Lehmann@tu-dresden.de> | 2016-10-14 14:17:13 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@tu-dresden.de> | 2016-10-14 14:17:13 +0200 |
commit | d1fb7f9772ec1a4fafb39c75a52ef064b6467398 (patch) | |
tree | b7cca307b5a467980b70e7677a6c8a23084b1e05 /dist/mcode/windows/compile-ghdl.ps1 | |
parent | 1a1d378dcafeca5a18dfa8862ebe412efa1e9718 (diff) | |
download | ghdl-d1fb7f9772ec1a4fafb39c75a52ef064b6467398.tar.gz ghdl-d1fb7f9772ec1a4fafb39c75a52ef064b6467398.tar.bz2 ghdl-d1fb7f9772ec1a4fafb39c75a52ef064b6467398.zip |
Windows Build Flow: Fixed error of premature module unload.
Diffstat (limited to 'dist/mcode/windows/compile-ghdl.ps1')
-rw-r--r-- | dist/mcode/windows/compile-ghdl.ps1 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dist/mcode/windows/compile-ghdl.ps1 b/dist/mcode/windows/compile-ghdl.ps1 index 5017b1fee..657023d03 100644 --- a/dist/mcode/windows/compile-ghdl.ps1 +++ b/dist/mcode/windows/compile-ghdl.ps1 @@ -46,29 +46,29 @@ [CmdletBinding()] param( # Display this help" - [switch]$Help = $false, + [switch]$Help = $false, # Slean up all files and directories - [switch]$Clean = $false, - [switch]$Clean_GHDL = $false, + [switch]$Clean = $false, + [switch]$Clean_GHDL = $false, # Compile all targets - [switch]$All = $false, + [switch]$All = $false, # Compile main targets - [switch]$Compile = $false, + [switch]$Compile = $false, # Compile GHDL (simulator) - [switch]$Compile_GHDL = $false, + [switch]$Compile_GHDL = $false, # Undocumented - [switch]$Test = $false, + [switch]$Test = $false, # Undocumented - [switch]$Test_GHDL = $false, + [switch]$Test_GHDL = $false, # Build options # Build a release version - [switch]$Release = $false, + [switch]$Release = $false, # Set the back-end - [string]$Backend = "mcode", + [string]$Backend = "mcode", # Reduced messages [switch]$Quiet = $false, @@ -97,7 +97,7 @@ $EnableDebug = $PSCmdlet.MyInvocation.BoundParameters["Debug"].IsPresent # Write-Host ("--> " + $PSCommandPath + " " + $PSBoundParameters + " " + $PSCmdlet + " " + $PSDefaultParameterValues) # load modules from GHDL's 'libraries' directory -Import-Module $PSScriptRoot\shared.psm1 -Verbose:$false -ArgumentList "$Script_WorkingDir" +Import-Module $PSScriptRoot\shared.psm1 -Verbose:$false -ArgumentList "$Script_WorkingDir", $Hosted Import-Module $PSScriptRoot\targets.psm1 -Verbose:$false # Display help if no command was selected |